FUNCTION REFERENCE

lines

Colormap of the default line colors.

Colormap of the default line colors.

Syntax

map = lines(n)

Repeats the rows of the default axes ColorOrder, get(groot,'DefaultAxesColorOrder'), until there are n rows (256 by default).

Example

m = lines(8); isequal(m(8,:), m(1,:))   % true

Differences from MATLAB: The colors are MatRust's default ColorOrder; the current axes ColorOrder is not used.

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