how to plot x,y,z axes in a single graph?
조회 수: 23 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (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.
댓글 수: 0
Sachin Ganjare
2012년 10월 19일
You can use stem3(x,y,z,'MarkerFaceColor','g').
Refer link below:
Hope it helps!!!
댓글 수: 0
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!