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

colormap.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?