GrADS Command: set ccolor

## set ccolor

`set ccolor rainbow`
`set ccolor color#`

This command sets the color of the plotted contours. If `ccolor` is set to `rainbow`, 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. 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.

### Usage Notes

1. `set ccolor` is reset by entering `clear` or `display`.

2. The color sequence for the default rainbow palette is: `9 14 4 11 5 13 3 10 7 12 8 2 6`. This may be overridden by using the set rbcols command.

3. If the number of colors in the rainbow palette is smaller than the number of contour levels, then some contour colors will be repeated -- i.e. not every contour color will be unique. Likewise, if the number of colors in the rainbow palette is larger than the number of contour levels, then some colors will be omitted.

4. When overlaying contour plots, GrADS will automatically change the color of the contours for each successive plot in order to distinguish between different variables. The default order is: rainbow, foreground, 3 (green), 7 (yellow), 2 (red), 6 (magenta), 9 (purple), ....

### Examples