Issue with 3d plots
43 次查看(过去 30 天)
显示 更早的评论
Hi, I have a issue with mesh and surface commands.
I'm not getting 3d plots, instead of that only 2d plots are coming
0 个评论
回答(2 个)
Star Strider
2020-2-13
Use the view function to change the axes orientation with respect to the ‘camera’. If the mesh or surf exists in 3D., that should show it, or iif it is actually a plane, at least help you find the problem.
0 个评论
Walter Roberson
2020-2-13
That can happen if you called hold on before generating the 3D plot. When you call hold on, the view() gets frozen unless you change it later.
view(3)
resets to the default 3D view.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!