login

shade.gs

Top / GrADS / script / shade.gs

Japanese / English

Name

shade - Shading region of the specified value range.

Synopsis

shade
    var (min max | -min min | -max max)
    [r g b]

Description

To show help, simply run "shade".

Options

var
Variable name.
min
Minimum value of the region to shade.
max
Maximum value of the region to shade.
r
RGB value (red) of the color for shading. Default value is 211.
g
RGB value (green) of the color for shading. Default value is 211.
b
RGB value (blue) of the color for shading. Default value is 211.

Examples

(1) Paint the region whose value is less than zero.

ga-> open u
ga-> shade u -max 0

If you want another color, specify RGB value as follows:

shade u -max 0 128 0 0

Script source code