Create color colormap. This colormap varies from black to white with shades of gray-pink.
This colormap gives a sepia tone when used on grayscale images.
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 'pink' colormap as an image image (1:64, linspace (0, 1, 64), repmat ((1:64)', 1, 64)); axis ([1, 64, 0, 1], "ticy", "xy"); colormap (pink (64));
Produces the following figure
Figure 1 |
---|
Package: octave