MATLAB Answers

Perspective view of xz plane

11 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

  0 Comments

Sign in to comment.

Accepted Answer

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

  0 Comments

Sign in to comment.

More Answers (0)


Translated by