GOULDIAN

Purpose:

Generates a colormap of blue, green, yellow.

Syntax:

GOULDIAN(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)');gouldian

 

image\gouldian.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 blue (lowest) to yellow.

Example:

W1: cividis;showcmap()

W2: gouldian;showcmap()

W3: paruline;showcmap()

W4: viridis;showcmap()

 

image\cvpg.png

 

W1, W2, W3 and W4 display similar 32x256 colormaps where 256 is the colormap length.

Remarks:

gouldian by itself sets the colormap and shading.

 

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

 

The GOULDIAN colormap is similar to PARULINE, but its darker hue progression draws on the natural coloration found in the Australian Gouldian Finch.

See Also:

CIVIDIS

COOL

HOT

PARULINE

PINK

RAINBOW

SETCOLORMAP

SETSHADING

SHOWCMAP

TURBO

VIRIDIS

WINTER