Shaded filling problems

Martynas Kazlauskas mkzv at YAHOO.COM
Fri Mar 24 04:58:39 EST 2006


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'



More information about the gradsusr mailing list