[Thread Prev][Thread Next][Index]

Re: [ferret_users] Title at the top of the plot



Hi Jean,

You can get a title at the top of the plot by defining a new viewport,
filling it with an 'empty' plot (shaded white and no axes or labels) and
then use the label command. I have used something like this to create a
page with 3 plots and a title at the bottom:

---
define view/xlimits=0,1/ylimits=0.925,1/text=0.5 title
define view/xlimits=0,1/ylimits=0.645,0.925 t1
define view/xlimits=0,1/ylimits=0.365,0.645 m1
!Make bottom view larger to accomodate the color bar
define view/xlimits=0,1/ylimits=0,0.365 b1

!Need to fill the 'title' viewport with a blank plot, so the title can
!be added as a label
set view title
go margins 0.1 0.1 0.1 0.1
shade/noaxes/nolabels/i=1:2/j=1:2/nokey/pal=white (i+j)

!Add title text (centered)
label 1.5,1.5,0,0,0.3 My plot title

!Do the plots
set view t1 

..etc etc
----

Hope this helps,

Paul




On Thu, 2007-03-22 at 12:26, jean oliveira wrote:
> Hi all,
> 
> I wnat to make a fill with a title  at the top of the plot (yes?
> fill/title="title at the top" test.nc). Is it possible?
> 
> Thanks
> 
> Jean
> 
>  
> 
> 
> 
> ______________________________________________________________________
> Agora o Windows Live Spaces tem rede de amigos! Clique aqui e descubra
> a novidade


[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement