Create color colormap. This colormap is composed of the list of colors
in the current axes "ColorOrder"
property. The default is blue,
orange, yellow, purple, green, light blue, and dark red.
The argument n must be a scalar. If unspecified, the length of the current colormap, or 64, is used.
See also: colormap.
The following code
## Show the 'lines' colormap profile and as an image cmap = lines (21); # default has 7 colors, therefore cycle 3 times subplot (2, 1, 1); rgbplot (cmap, "composite"); subplot (2, 1, 2); rgbplot (cmap);
Produces the following figure
Figure 1 |
---|
Package: octave