Welcome to our community

Be a part of something great, join today!

Plotting Points on MatLab

hitachiin69

New member
Feb 8, 2014
2
This might be an unusual thread but is that i really can't figure out how to plot single points in 3D space using MatLab.

I need to plot the points (1,0,0) , (0,1,0) and (0,0,1)
 

evinda

Well-known member
MHB Site Helper
Apr 13, 2013
3,720
This might be an unusual thread but is that i really can't figure out how to plot single points in 3D space using MatLab.

I need to plot the points (1,0,0) , (0,1,0) and (0,0,1)
Do you mean something like that?
plot.jpg

You can do it,by using the following commands:

>> plot3(1,0,0, '*',0,1,0,'*', 0,0,1,'*')
>> zlim([-2 2])
>> ylim([-2 2])
>> xlim([-2 2])