flag

Purpose

Alternating red, white, blue, and black colormap.

Synopsis

cmap = flag(m)

Description

flag(m) returns an m-by-3 matrix containing the flag colormap. The default value for m is the length of the current colormap. Increasing the value of m increases the granularity emphasized by the map.

Examples

To reset the colormap of the current figure:

colormap(flag)

See Also

bone, colormap, cool, copper, gray, hot, hsv, jet, pink, prism, white

(c) Copyright 1994 by The MathWorks, Inc.