How can I plot a 3D graph perspectivly?
8 次查看(过去 30 天)
显示 更早的评论
Is it possible that I set the axis of the 3D graph more "perspective"? That's to say when the object is colser to the viewer, it looks bigger. And parallel lines in 3D may looks un-parallel. The following figure is plotted in Origin, and obviously it looks better.
0 个评论
采纳的回答
Walter Roberson
2016-7-22
Those are controlled by the various View properties of the axes object. See also http://www.mathworks.com/help/matlab/views.html
0 个评论
更多回答(2 个)
KSSV
2016-7-22
You have to play around with xtick, ytick, ztick and view angle...it is very much possible.....
0 个评论
Allen Benjamin
2016-7-22
You can use the axes projection property:
ax = axes;
ax.Projection = 'perspective';
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!