cool

Cool colormap array.

Syntax

  • c = cool

  • c = cool(m)

Input argument

  • m - a scalar integer value: Number of colors (256 as default value).

Output argument

  • c - Cool colormap array.

Description

cool returns the colormap with cool colors.

Example

f = figure();
surf(peaks);
colormap('cool');

See also

colormap.

History

Author

Allan CORNET

Last updated