FUNCTION REFERENCE

cool

Cyan-to-magenta colormap.

Cyan-to-magenta colormap.

Syntax

map = cool(n)

Row k is [t 1-t 1] with t rising linearly from 0 to 1 (256 rows by default).

Example

cool(2)   % [0 1 1; 1 0 1]

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.