Special plot3 command in Matlab
Mostra commenti meno recenti
Hi. I have a matrix named S, e.g.
S =
[25 4 14
26 4 14
27 4 14
28 4 14
29 4 14
30 4 14
31 4 14
32 4 14
33 4 14];
Every row in matrix S indicates a point in 3D space. I want to use plot3 command to plot these points.
plot3(S(:,1),S(:,2),S(:,3),'s')
This code plots these points with squares, but I want to have cubes instead of squares. How can I do that?
Thanks.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
