RES: Shaded filling problems

martynas kazlauskas mkzv at YAHOO.COM
Tue Mar 28 07:05:21 EST 2006


Thanks,

It worked.

Martynas Kazlauskas

--- José Fernando Pesquero <pesquero at CPTEC.INPE.BR>
wrote:

> Hi,
>
> Try a ccols like this:
>
> 'set ccols 0 71 72 73 74 75 76 77 78'
>
>
> Pesquero
>
>
----------------------------------------------------------------------------
> --------------------------------
> José Fernando Pesquero
> Centro de Previsão de Tempo e Estudos Climáticos
> Griupo de Visualização de Produtos Meteorológicos
> > -----Mensagem original-----
> > De: GRADSUSR at LIST.CINECA.IT
> [mailto:GRADSUSR at LIST.CINECA.IT] Em nome de
> > Martynas Kazlauskas
> > Enviada em: sexta-feira, 24 de março de 2006 06:59
> > Para: GRADSUSR at LIST.CINECA.IT
> > Assunto: Shaded filling problems
> >
> > Hi all,
> >
> > I wanted to ask help with the "set clevs" option
> in grads script. The
> > problem appears when plotting shaded plot of
> precipitation (an example of
> > the script at the end of the message) - Grads
> makes a shaded plot on
> > values
> > below 0.5 as well and covers the whole area. The
> same problem appears with
> > "set cmin 0.1" - Grads plots a shaded area on
> values which equal 0 - this
> > means the areas with no precipitation.
> >
> > This is what i want to avoid - and see the
> precipitation when the values
> > are
> > over 0.5 only in the interval 0.5 1 2 4 8 16 32
> 50.
> >
> > On the other hand, the script works ok with a
> fixed interval - lets say
> > 'cint 0.2'. But i want to use clevs in this case.
> Can anyone give an
> > explanation to this?
> >
> > Thanks in advance.
> >
> > Martynas
> >
> >
> >
> > here is a snippet from my script:
> >
> > 'reinit'
> > 'open rain.ctl'
> > 'set t 2'
> > 'set gxout grfill'
> > 'run /home/martynas/grads/visual/spalvos.gs' *
> this defines the rgb for
> > colors 70-77
> >
> > *'set rbcols 70 71 72 73 74 75 76 77'
> >
> > 'set clevs 0.5 1 2 4 8 16 32 50'
> > 'set ccols 70 71 72 73 74 75 76 77 78'
> >
> > 'set cmin 0.5' *trying to avoid values below 0.5
> >
> > 'd pretot' *plot accumulated precipitation
> >
> > 'run /home/martynas/grads/scripts/cbarv.gs'
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



More information about the gradsusr mailing list