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!