Navigation

Operators and Keywords

Function List:

C++ API

Function File: map = lines ()
Function File: map = lines (n)

Create color colormap. This colormap is composed of the list of colors in the current axes "ColorOrder" property. The default is blue, green, red, cyan, pink, yellow, and gray.

The argument n must be a scalar. If unspecified, the length of the current colormap, or 64, is used.

See also: colormap.

Demonstration 1

The following code

 ## Show the 'lines' colormap as an image
 image (1:64, linspace (0, 1, 64), repmat ((1:64)', 1, 64));
 axis ([1, 64, 0, 1], "ticy", "xy");
 colormap (lines (64));

Produces the following figure

Figure 1

Package: octave