JMSLTM Numerical Library 4.0

com.imsl.chart
Interface Colormap


public interface Colormap

Colormaps are mappings from the unit interval to Colors. They are a one-dimensional parameterized path through the color cube.

See Also:
Heatmap

Field Summary
static Colormap BLUE
          Linear blue colormap.
static Colormap BLUE_GREEN_RED_YELLOW
          Blue/green/red/yellow colormap.
static Colormap BLUE_RED
          Blue/red colormap.
static Colormap BLUE_WHITE
          Blue/white colormap.
static Colormap BW_LINEAR
          Black and white (grayscale) colormap.
static Colormap GREEN
          Linear green colormap.
static Colormap GREEN_PINK
          Green/pink colormap.
static Colormap GREEN_RED_BLUE_WHITE
          Green/red/blue/white colormap.
static Colormap GREEN_WHITE_EXPONENTIAL
          Exponential green/white colormap.
static Colormap GREEN_WHITE_LINEAR
          Linear green/white colormap.
static Colormap PRISM
          Prism colormap.
static Colormap RED
          Linear red colormap.
static Colormap RED_PURPLE
          Red/purple colormap.
static Colormap RED_TEMPERATURE
          Red temperature colormap.
static Colormap SPECTRAL
          Spectral colormap.
static Colormap STANDARD_GAMMA
          Standard gamma colormap.
static Colormap WHITE_BLUE_LINEAR
          Linear blue/white colormap.
 
Method Summary
 Color color(double t)
          Maps the parameterization interval [0,1] into Colors.
 

Field Detail

BLUE

public static final Colormap BLUE
Linear blue colormap.


BLUE_GREEN_RED_YELLOW

public static final Colormap BLUE_GREEN_RED_YELLOW
Blue/green/red/yellow colormap.


BLUE_RED

public static final Colormap BLUE_RED
Blue/red colormap.


BLUE_WHITE

public static final Colormap BLUE_WHITE
Blue/white colormap.


BW_LINEAR

public static final Colormap BW_LINEAR
Black and white (grayscale) colormap.


GREEN

public static final Colormap GREEN
Linear green colormap.


GREEN_PINK

public static final Colormap GREEN_PINK
Green/pink colormap.


GREEN_RED_BLUE_WHITE

public static final Colormap GREEN_RED_BLUE_WHITE
Green/red/blue/white colormap.


GREEN_WHITE_EXPONENTIAL

public static final Colormap GREEN_WHITE_EXPONENTIAL
Exponential green/white colormap.


GREEN_WHITE_LINEAR

public static final Colormap GREEN_WHITE_LINEAR
Linear green/white colormap.


PRISM

public static final Colormap PRISM
Prism colormap.


RED

public static final Colormap RED
Linear red colormap.


RED_PURPLE

public static final Colormap RED_PURPLE
Red/purple colormap.


RED_TEMPERATURE

public static final Colormap RED_TEMPERATURE
Red temperature colormap.


SPECTRAL

public static final Colormap SPECTRAL
Spectral colormap.


STANDARD_GAMMA

public static final Colormap STANDARD_GAMMA
Standard gamma colormap.


WHITE_BLUE_LINEAR

public static final Colormap WHITE_BLUE_LINEAR
Linear blue/white colormap.

Method Detail

color

public Color color(double t)
Maps the parameterization interval [0,1] into Colors.

Parameters:
t - A parameter value in the interval [0,1].
Returns:
A Color value corresponding to t.
Throws:
IllegalArgumentException - is thrown if t is outside of the range [0,1]

JMSLTM Numerical Library 4.0

Copyright 1970-2006 Visual Numerics, Inc.
Built June 1 2006.