Name

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

Calling Sequence

cmap=rainbowcolormap(n)

Parameters

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

colormap , autumncolormap , bonecolormap , coolcolormap , coppercolormap , graycolormap , hotcolormap , hsvcolormap , jetcolormap , oceancolormap , pinkcolormap , springcolormap , summercolormap , whitecolormap , wintercolormap