<< pinkcolormap oбразчики springcolormap >>

Scilab Help >> Графики > color_management > oбразчики > rainbowcolormap

rainbowcolormap

red through orange, yellow, green,blue to violet colormap

Syntax

cmap=rainbowcolormap(n)

Arguments

n

integer >= 3, the colormap size.

cmap

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

Description

rainbowcolormap computes a colormap with n colors varying from red through orange, yellow, green,blue to violet.

Examples

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

See also


Report an issue
<< pinkcolormap oбразчики springcolormap >>