ExactColorByHeight

Enables or disables exact coloring by height in spectral maps and 3D surface graphs.

Syntax:

setExactColorByHeight(boolean);
boolean = setExactColorByHeight();

where:

boolean

Can be one of the following:

true uses the actual data value to get a color from the "color-by-height gradient." This value is the default.

false uses only the colors on the spectral legend, and the data value is compared to see which of those "buckets" it falls into.

Example:

setExactColorByHeight(false);
setGradientPinLeftColor(getColorByHeight(),
    new Color(106,189,187),0);
setGradientPinLeftColor(getColorByHeight(),
    new Color(0,255,255),1);
setGradientPinRightColor(getColorByHeight(),
    new Color(0,255,255),1);
setGradientPinRightColor(getColorByHeight(),
    new Color(106,189,187),0);
setGraphType(87);

graph

See ColorMode.


WebFOCUS