|
hello Leo.
You can use the command view(x,y) to rotate the graph around.
Sami
"leo nidas" <bleonidas25@yahoo.gr> wrote in message <jhesk7$std$1@newscl01ah.mathworks.com>...
>
> 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.
|