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.

Sample

Examples

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

See Also

Table Of Contents

This Page