Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

prism

Prism colormap array.

Syntax

  • c = prism
  • c = prism(m)

Input argument

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

Output argument

  • c - Prism colormap array.

Description

prism returns the colormap with prism colors.

Example

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

See also

colormap.

History

VersionDescription
1.0.0initial version

Author

Allan CORNET