Filter löschen
Filter löschen

how to plot x,y,z axes in a single graph?

23 Ansichten (letzte 30 Tage)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran am 19 Okt. 2012
I need to plot 3 variables namely x,y,z. I need to plot all the 3 variable in a single figure window. how to do it

Antworten (2)

Walter Roberson
Walter Roberson am 19 Okt. 2012
plot3(x,y,z)
or
scatter3(x,y,z)
or
surf(x,y,z)
or
plot([x(:), y(:), z(:)])
depending on what kind of graph is desired.

Sachin Ganjare
Sachin Ganjare am 19 Okt. 2012
You can use stem3(x,y,z,'MarkerFaceColor','g').
Refer link below:
Hope it helps!!!

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by