spring

Spring colormap array.

Syntax

  • c = spring

  • c = spring(m)

Input argument

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

Output argument

  • c - Spring colormap array.

Description

spring returns the colormap with spring colors.

Example

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

See also

colormap.

History

Author

Allan CORNET

Last updated