<< coppercolormap Swatches hotcolormap >>

Scilab Help >> Graphics > Color management > Swatches > graycolormap

graycolormap

linear gray colormap

Syntax

cmap=graycolormap(n)

Arguments

n

integer >= 1, the colormap size.

cmap

matrix with 3 columns [R,G,B].

Description

graycolormap computes a colormap with n gray colors varying linearly from black to white.

Examples

f = scf();
plot3d1();
f.color_map = graycolormap(32);

See also


Report an issue
<< coppercolormap Swatches hotcolormap >>