Set the current colormap.
colormap (
map)
sets the current colormap to map. The color map should be an n row by 3 column matrix. The columns contain red, green, and blue intensities respectively. All entries should be between 0 and 1 inclusive. The new colormap is returned.
colormap ("default")
restores the default colormap (thejet
map with 64 entries). The default colormap is returned.With no arguments,
colormap
returns the current color map.See also: jet