How to Plot Single Points in 3D Space Using MatLab?

Click For Summary
SUMMARY

This discussion focuses on plotting single points in 3D space using MATLAB. The specific points to be plotted are (1,0,0), (0,1,0), and (0,0,1). The solution provided includes the MATLAB command plot3(1,0,0, '*',0,1,0,'*', 0,0,1,'*') along with axis limits set by zlim([-2 2]), ylim([-2 2]), and xlim([-2 2]). This method effectively visualizes the specified points in a 3D coordinate system.

PREREQUISITES
  • Basic understanding of MATLAB syntax
  • Familiarity with 3D plotting functions in MATLAB
  • Knowledge of coordinate systems
  • Experience with setting axis limits in MATLAB
NEXT STEPS
  • Explore MATLAB's plot3 function documentation for advanced plotting techniques
  • Learn about customizing markers and colors in MATLAB plots
  • Investigate 3D visualization tools available in MATLAB
  • Study how to manipulate axis properties for better data representation in MATLAB
USEFUL FOR

This discussion is beneficial for MATLAB users, data visualizers, and engineers looking to enhance their skills in 3D plotting and visualization techniques.

hitachiin69
Messages
2
Reaction score
0
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)
 
Physics news on Phys.org
hitachiin69 said:
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?
View attachment 1966

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])
 

Attachments

  • plot.jpg
    plot.jpg
    11.9 KB · Views: 92

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 9 ·
Replies
9
Views
5K