parula

Parula colormap array.

Syntax

  • c = parula

  • c = parula(m)

Input argument

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

Output argument

  • c - Parula colormap array.

Description

parula returns the colormap with parula colors.

parula is the default colormap.

Example

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

See also

colormap.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated