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

조회 수: 3 (최근 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 CenterFile Exchange에서 Creating, 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