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

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

Risposte (2)

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.

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange

Prodotti

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by