Navigation

Operators and Keywords

Function List:

C++ API

: iscolormap (cmap)

Return true if cmap is a colormap.

A colormap is a real matrix, of class single or double, with 3 columns. Each row represents a single color. The 3 columns contain red, green, and blue intensities respectively.

All values in a colormap should be in the [0 1] range but this is not enforced. Each function must decide what to do for values outside this range.

See also: colormap, rgbplot.

Package: octave