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

13 ビュー (過去 30 日間)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012 年 10 月 19 日
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

回答 (2 件)

Walter Roberson
Walter Roberson 2012 年 10 月 19 日
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 2012 年 10 月 19 日
You can use stem3(x,y,z,'MarkerFaceColor','g').
Refer link below:
Hope it helps!!!

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by