flag

Flag colormap array.

Syntax

  • c = flag

  • c = flag(m)

Input argument

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

Output argument

  • c - Flag colormap array.

Description

flag returns the colormap with flag colors.

Example

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

See also

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated

Was this helpful?