Plotting two lines in 3d

Hello!
I need help visualizing a problem in Matlab to better understand how to tackle it. What I want to do is simply plot two lines in 3d.
Line 1: (x,y,z)=t(1,1,-1)
Line 2: (x,y,z)=t(2,1,0)
How do I go about this?

类别

帮助中心File Exchange 中查找有关 Line Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by