hsvcolormap — Hue-saturation-value colormap
cmap = hsvcolormap(n)
hsvcolormap
computes a colormap with
n
colors. This colormap varies the hue component of the
hsv color model. The colors begin with red, pass through yellow, green,
cyan, blue, magenta, and return to red. The map is particularly
useful for displaying periodic functions.
t=[0:0.1:2*%pi]'; z=sin(t)*cos(t'); f=gcf();f.color_map=hsvcolormap(64); plot3d1(t,t,z,35,45,"X@Y@Z",[-2,2,2])