PARULINE

Purpose:

Generates a colormap of blue, green, orange, yellow.

Syntax:

PARULINE(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)');paruline

 

image\paruline.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 green to orange to yellow (highest).

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:

paruline by itself sets the colormap and shading.

 

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

 

PARULINE is an independently designed, approximately perceptually uniform colormap featuring a smooth, monotonically increasing luminance profile. Its hue progression draws on the natural coloration found in the Northern Parula warbler, producing a balanced blue to yellow aesthetic that is both visually appealing and scientifically practical.

 

See CIVIDIS, INFERNO, MAGMA, PLASMA and VIRIDIS for perceptually uniform colormaps.

See Also:

CIVIDIS

COOL

GOULDIAN

HOT

INFERNO

MAGMA

PEAKS

PINK

PLASMA

RAINBOW

SETCOLORMAP

SETSHADING

SHOWCMAP

TURBO

VIRIDIS

WINTER