MATLAB Answers

Iman
0

Perspective view of xz plane

Asked by Iman
on 25 Apr 2014
Latest activity Answered by 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.

1 Answer

Answer by poopey
on 26 Apr 2014
 Accepted Answer

Try using a combination of the campos , camtarget , and camup functions.

  0 Comments

Sign in to comment.