Plotting in a 3D space
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Gopika R
el 2 de Jul. de 2020
Comentada: Gopika R
el 2 de Jul. de 2020
I have a vector r=[1;0;-1]; and I would like to plot this in the 3D space. Can anyone please help me with this?
0 comentarios
Respuesta aceptada
Voss
el 2 de Jul. de 2020
This will plot a line segment from the origin to the point (1,0,-1):
plot3([0 r(1)],[0 r(2)],[0 r(3)]);
Más respuestas (1)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!