Admin Production ni-theme
Current Publication

OGLATTR_COLOR_SCHEME

LabWindows/CVI

OGLATTR_COLOR_SCHEME

Data Type: integer
Access:read/write
Functions:OGLGetPlotAttribute
OGLSetPlotAttribute
Description: Specifies the color scheme to be used for the plot. The color scheme for the plots overrides the surface color if the value of OGLATTR_SURFACE_STYLE is not OGLVAL_NONE. Otherwise it overrides the wire color if OGLATTR_WIRE_STYLE is not OGLVAL_NONE. If both the above attibutes are OGLVAL_NONE then the color scheme overrides the point color.

In the explanation for the color scheme values, default color denotes the color that is overridden.
Values:
OGLVAL_NONE (-2)The plot will have a solid color specified by the default color.
OGLVAL_SHADED (1)The color of a data point is determined using its z value as follows. If the z value is less than (zmax+zmin)/2 then the color is interpolated between black and the default color. Otherwise it is interpolated between the default color and white.
OGLVAL_COLOR_SPECTRUM (2)The color is determined using a color map which has a predetermined set of seven color values distributed evenly over the range of z values.
OGLVAL_GRAYSCALE (3)The color is determined by interpolating between black and white over the range of z values.
OGLVAL_COLORMAP (4)The color values are determined using the given color map.
OGLVAL_COLORARRAY (5)The color values are determined using the given color array.
LabWindows/CVI
Compatibility:
LabWindows/CVI 5.0 and later