This command sets the color of the plotted contours.
set ccolor rainbow
| revrain
set ccolor color#
If
ccolor
is set to rainbow
or revrain
, then GrADS will
use the default rainbow sequence to assign
colors to individual contours, resulting in a pleasing color palette
that spans the range of the plotted values. The rainbow
option starts with purple for the minimum contour level and ends with red for the maximum contour level. The revrain
option goes the other way, starting with red and ending with purple.
To draw all contours with
the same color, use the second option, where color#
may be one of the 16 GrADS default colors or the number of a
user-defined color created with set
rgb.
set ccolor
is reset by entering clear
or display
.
9 14 4 11 5 13 3 10 7 12 8 2 6
(or the reverse order for the revrain
option.) These colors may
be overridden with the set rbcols
command.