<< CL_autoLevels Utilities CL_configGet >>

celestlab >> Utilities > CL_colormap

CL_colormap

Colormap creation (interface).

Calling Sequence

cmap = CL_colormap([[cmap_name, n]])

Description

Parameters

cmap_name:

(string, optional) name of the colormap function to be used. See Scilab help for the list of possible names. Default value is "jet".

n:

(integer, optional) colormap size (number of colors), it should to be >= 3. Default value is 32.

cmap:

generated colormap (nx3).

Authors

Examples

cmap = CL_colormap()
cmap = CL_colormap("jet", 32)
cmap = CL_colormap("rainbow")

Report an issue
<< CL_autoLevels Utilities CL_configGet >>