FUNCTION REFERENCE

parula

Default colormap under MATLAB's name; gives viridis in MatRust.

Default colormap under MATLAB's name; gives viridis in MatRust.

Syntax

map = parula

Syntax

map = parula(n)

Returns the same rows as viridis(n), so scripts written for MATLAB's default map run.

Example

isequal(parula(4), viridis(4))   % true

Differences from MATLAB: The colours are viridis, not MATLAB's parula table, which is not published under terms MatRust may reproduce.

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