Plotting a straight line in 3D

3 views (last 30 days)
Satarupa Khamaru
Satarupa Khamaru on 2 Dec 2017
Edited: Image Analyst on 2 Dec 2017
How do I plot a straight line when I have a point on the straight line, and the direction vector of the straight line.
The direction vector is
N = [3.018342517751174e-06, -3.415884156624327e-06, 2.700404288710542e-04]
The point on straight line is
P = [-3.211497038605045, 1.913034209510885, 0]

Answers (1)

John D'Errico
John D'Errico on 2 Dec 2017
Can you find two points on the line? Of course!
help plot3
Or, if you prefer,
help line
What is the problem?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!