Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.
|
|
|
rotate 3d plot basic question
Posted:
Feb 14, 2012 7:01 PM
|
|
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.
|
|
|
|