I've a 3xN
matrix W
where N
is 50
W(1,1)
is x
coordinate of a pointW(2,1)
is y
coordinate of same pointW(3,1)
is z
coordinate of same point
Similarly:W(1,2)
is x
coordinate of another pointW(2,2)
is y
coordinate of same pointW(3,2)
is z
coordinate of same point
....
Now I want to 3d plot all these 3d points on same figure using matlab. How can I plot all these points on same figure?
Is it possible to plot this matrix using a single function call(in matlab)?
I know that plot3 can be used but it can be used for one graph at a time.
So plot3(v(1,1),v(1,2),v(1,3));
is just a single point. But how do I plot all N points?
Is there an easier and better method?