How can I plot a 3D graph perspectivly?
22 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Walter Roberson
on 22 Jul 2016
Those are controlled by the various View properties of the axes object. See also http://www.mathworks.com/help/matlab/views.html
0 Comments
More Answers (2)
KSSV
on 22 Jul 2016
You have to play around with xtick, ytick, ztick and view angle...it is very much possible.....
0 Comments
Allen Benjamin
on 22 Jul 2016
You can use the axes projection property:
ax = axes;
ax.Projection = 'perspective';
See Also
Categories
Find more on Axes Appearance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!