Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: rotate 3d plot basic question
Replies: 1   Last Post: Nov 25, 2012 10:12 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
leo nidas

Posts: 227
Registered: 11/24/07
rotate 3d plot basic question
Posted: Feb 14, 2012 7:01 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


Hi there,

I plot a surface

h3=surf(p1,p3,z)

then I would like to rotate it around the z axis the same way I would by using the rotation in the GUI using my mouse.

When I use

rotate(h3,[0 0 1],90)

even though the graph is as expected to be, the axes are wrong. Is there a way to program it to rotate and preserve the axes. I want to do exactly what I would do with my mouse, but using exactly 90 degrees.

I have multiple plots and I would like to use something like the rotate function.

I don't know if I am clear.. The h3 graph is exactly what I want. I simply want to view the whole graph from another angle so as to be prettier and understand it better.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.