<< pinkcolormap Color management rgb2name >>

Scilab Help >> Graphics > Color management > rainbowcolormap

rainbowcolormap

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

Calling Sequence

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 Color management rgb2name >>