AUTUMN

Purpose:

Generates a colormap of red, orange, yellow.

Syntax:

AUTUMN(len)

len

-

Optional. An integer, the colormap length. Defaults to the length of the current colormap.

Returns:

A table of RGB triples suitable for the SETCOLORMAP function.

Example:

clen = length(getcolormap());

W1: density(ravel(rep(0..(clen-1), 32), clen)');autumn

 

image\autumn.png

 

creates a table of 32 x N (where N == colormap length) RBG values and displays the resulting colors. The resulting image is a vertical plot of colors ranging from red (lowest) to orange to yellow.

Example:

W1: autumn;showcmap();

W2: spring;showcmap();

W3: summer;showcmap()

W4: winter;showcmap();

 

image\assw.png

 

W1, W2, W3 and W4 display 32x256 sequential colormaps related to the four seasons where 256 is the colormap length.

Remarks:

autumn by itself sets the colormap and shading.

 

a = autumn or setcolormap(autumn) returns the RGB values. In this case, use SETSHADING to make the new colormap take effect on an existing density or 2D plot.

 

The AUTUMN colormap is a sequential colormap that evokes the warm colors of fall foliage. It transitions smoothly from deep red (or reddish tones) at the low end of the data range, through orange, and finally to bright yellow at the high end.

See Also:

CIVIDIS

COOL

GOULDIAN

HOT

PARULINE

PINK

RAINBOW

SETCOLORMAP

SETSHADING

SHOWCMAP

SPRING

SUMMER

TURBO

WINTER