Perspective view of xz plane

10 views (last 30 days)
Iman
Iman on 25 Apr 2014
Answered: poopey on 26 Apr 2014
Hi,
This should be an easy solution but its defeating me! I want to view a 3d plot such that I am looking at the xz plane at an angle (30 degrees or so) above it. It should look something like the following:
I'm not not having luck with view (because I think it only rotates about z axis). I'm trying to use view and then a camroll in something like this:
view(135,45) camroll(-45)
But I can't get it right. If anyone knows what to use please let me know.
Thanks

Accepted Answer

poopey
poopey on 26 Apr 2014
Try using a combination of the campos , camtarget , and camup functions.

More Answers (0)

Categories

Find more on Graphics Object Programming 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!