FUNCTION REFERENCE

spring

Magenta-to-yellow colormap.

Magenta-to-yellow colormap.

Syntax

map = spring(n)

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

Example

spring(2)   % [1 0 1; 1 1 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.