FWD: cbarn.gs

Yaw Kyei ykyei at YAHOO.COM
Fri Oct 23 08:33:43 EDT 2009


How are you able to generate one bar for all the plots with the vpage?

Yaw

--- On Fri, 10/23/09, Esther Romero Olivares <eromeroo at INM.ES> wrote:

> From: Esther Romero Olivares <eromeroo at INM.ES>
> Subject: FWD: cbarn.gs
> To: GRADSUSR at LIST.CINECA.IT
> Date: Friday, October 23, 2009, 10:42 AM
> Ah, the result is this one. If you
> say any improvement that can be done,
> just let me know.
>
> Thanks.
>
>
>
> El vie, 23-10-2009 a las 12:41, Esther Romero Olivares
> escribió:
> > Hi!
> >
> > I have fixed it in a not very elegant way but a way
> that works. I have
> > defined a new vpage and plot a white map (with
> nothing, no mapdraw, no
> > frame...) situated where I wanted to appear the color
> legend :-))
> >
> > Thanks to all!
> >
> > El vie, 23-10-2009 a las 08:07, Rupak Rajbhandari
> escribió:
> > > Hi,
> > > I think the color legend has to be inside the
> vpage. But for two
> > > columns map display, you may plot 'cbarn' at both
> the vpage forcing
> > > the same mid point so that it appears in the
> middle.
> > >
> > > -rupak
> > >
> > > On Thu, Oct 22, 2009 at 6:08 PM, Esther Romero
> Olivares
> > > <eromeroo at inm.es>
> wrote:
> > >         Thanks!
> > >
> > >         But if I
> have used the "set vpage" command it will plot the
> > >         legend
> > >         inside the
> virtual page defined, even if I don't specified any
> > >         parameter.
> > >
> > >         If I use
> after the plot "set vpage off" to return to the
> > >         default
> state
> > >         where the
> real page equals the virtual one it says that does
> > >         not have
> > >         any shading
> information.
> > >
> > >         I would
> like to have many plots but just one legend in the
> > >         bottom of
> the
> > >         page...
> > >
> > >         Thanks
> again!
> > >
> > >         Esther.
> > >
> > >         El jue,
> 22-10-2009 a las 14:11, eliav schmulewitz escribió:
> > >
> > >         >
> Esther
> > >         > sure
> you can
> > >         > if you
> open the cbarn script that is in the same file as
> > >         your grads
> > >         >
> probably in a file called scripts
> > >         > it
> explains as folows:
> > >         > "run
> cbarn sf vert xmid ymid
> > >         > *
> > >         >
> *    sf   - scale the whole bar 1.0
> = original 0.5 half the
> > >         size, etc.
> > >         >
> *    vert - 0 FORCES a horizontal bar = 1 a
> vertical bar
> > >         >
> *    xmid - the x position on the virtual page the
> center
> > >         the bar
> > >         >
> *    ymid - the x position on the virtual page the
> center
> > >         the bar
> > >         > *
> > >         >
> *    if vert,xmid,ymid are not specified, they are
> selected
> > >         >
> *    as in the original algorithm"
> > >         > good
> luck
> > >         > eliav
> > >         >
> > >
> > >
> > >
>



More information about the gradsusr mailing list