OOF2: The Manual

Name

Spectral (SpectralMap) — blue, green, yellow, orange, red

Synopsis

SpectralMap(saturation, value)

Details

  • Base class: ColorMap
  • Parameters:

    saturation
    0.0=weak, 1.0=strong Type: A real number in the range [0, 1].
    value
    0.0=dark, 1.0=light Type: A real number in the range [0, 1].

Description

ColorMaps translate numbers into colors, for use in contour plots. SpectralMap maps colors in spectral order (blue-green-yellow-orange-red, from low to high values).

The saturation and value parameters determine the fixed saturation and value of all the colors in the map.

Figure 6.111. The Spectral Color Map

The Spectral Color Map

Three versions of the spectral color map with different parameters. High values are on top.

(a) The default values, saturation=1 and value=1.0.

(b) saturation=0.5 and value=1.0.

(c) saturation=1.0 and value=0.5.