help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3 D plots


From: Doug Stewart
Subject: Re: 3 D plots
Date: Wed, 21 Mar 2012 07:17:34 -0400



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
              (http://www.network-theory.co.uk/docs/octave3/octave_159.html)
 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 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]