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
답변 (2개)
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
2012년 10월 19일
0 개 추천
You can use stem3(x,y,z,'MarkerFaceColor','g').
Refer link below:
Hope it helps!!!
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!