FUNCTION REFERENCE

prism

Repeating six-color colormap.

Repeating six-color colormap.

Syntax

map = prism(n)

Cycles red, orange, yellow, green, blue and violet (256 rows by default).

Example

m = prism(7); m(7,:)   % [1 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.