hsvColorMap edit page

HSV Hue-saturation-value color map HSV(M) returns an M-by-3 matrix containing an HSV colormap. HSV, by itself, is the same length as the current figure's colormap. If no figure exists, MATLAB creates one.

An HSV colormap varies the hue component of the hue-saturation-value
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.
For example, to reset the colormap of the current figure:
           colormap(hsv)

Syntax

map = hsvColorMap(m)

See also

COLORMAP, RGBPLOT, HSV2RGB, RGB2HSV.