C_Colors Keyword

Used With Routines:   CONTOUR,  CONTOURFS,  CONTOUR, MAP_CONTOUR

Corresponding System Variable: None.

A vector of color indices used to set the color index used to draw each contour.

This parameter is a vector, converted to integer type if necessary. If there are more contour levels than elements in C_Colors, the elements of the color vector are cyclically repeated.

Example

If C_Colors contains three elements, and there are seven contour levels to be drawn, the colors c0, c1, c2, c0, c1, c2, c0 will be used for the seven levels. To call CONTOUR and set the colors to [100, 150, 200]:

CONTOUR, Z, C_Colors=[100, 150, 200]