FUNCTION REFERENCE

flag

Repeating red-white-blue-black colormap.

Repeating red-white-blue-black colormap.

Syntax

map = flag(n)

Cycles red, white, blue and black (256 rows by default).

Example

flag(4)   % [1 0 0; 1 1 1; 0 0 1; 0 0 0]

Differences from MATLAB: none known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.