On Wed, Mar 21, 2012 at 1:46 AM, asha g
<address@hidden> wrote:
sombrero works on the figure generated by typing in sombrero and rotating with left mouse.
But when I get my saved mesh.eps file and open it on gv 3.6.8, I am not sure where I should sombrero.
Also, this is for publication, so I do need the image to look 3 D on paper.
Thanks
Asha
No no no!!!!
Sombrero is a Spanish name for hat. This name is used for the M file because the surface drawn by the math function used in the M file, looks like a hat.
The fact that you can rotate the hat by clicking and dragging it, means that you should be able to do the same thing with your plot, not the eps file. You have to rotate your picture before you save it to an eps file.
You can rotate it 2 different ways.
1)
See the function view
help view
see also the plotting 3 D section in the manual
If after you plot the data you then run:
view(30,45) it will rotate the picture to a view angle of 30 degrees rotated and 45 degrees up.
2)
Rotate it with the mouse.
With the sombrero picture it should rotate reasonably fast, but with your plot it will be slow, because you are plotting a very large data set.
HTH