JMSL Chart Programmer's Guide
|
2D Drawing Elements >> Colormaps |
Colormaps
Colormaps are mappings from [0,1] to colors. They are a one-dimensional parameterized path through the color cube. For an example of their use, see Heatmap.
A number of colormaps are predefined in the Colormap class. It is also possible to create new custom colormaps.
The predefined colormaps are listed in the table below.
RED
Light red to dark red GREEN
Light green to dark green BLUE
Light blue to dark blue BW_LINEAR
Black and white linear BLUE_WHITE
Blue/White GREEN_RED_BLUE_WHITE
Green/Red/Blue/White RED_TEMPERATURE
Red Temperature BLUE_GREEN_RED_YELLOW
Blue/Green/Red/Yellow STANDARD_GAMMA
Standard Gamma PRISM
Prism RED_PURPLE
Red/Purple GREEN_WHITE_LINEAR
Green/White Linear GREEN_WHITE_EXPONENTIAL
Green/White Exponential GREEN_PINK
Green/Pink BLUE_RED
Blue/Red LEVEL_16
16 Levels SPECTRAL
Spectral WHITE_BLUE_LINEAR
White/Blue Linear
© Visual Numerics, Inc. All rights reserved. |