cubehelix: Cube Helix colour palette

Description Usage Arguments Details Value Author(s)

Description

Generate the Cube Helix colour palette, designed to appropriately display of intensity images, as the brightness increases monotonically when displayed in greyscale.

Usage

1
cubehelix(n, r = 1.5, hue = 1, gamma = 1, rev = FALSE)

Arguments

n

integer number of colours in the scale

r

real number specifying the number of rotations of the helix over the scale

hue

non-negative number specifying the colour intensity from grey (0) to normal (1) and over-saturated (>1)

gamma

positive number specifying the relative importance of low vs high values

rev

logical flag indicating whether the ordering of the colors should be reversed

Details

This scheme was published by Green, D. A., 2011, "A colour scheme for the display of astronomical intensity images." Bulletin of the Astronomical Society of India, 39, 289.

Value

Returns an n-vector of RGB colour strings.

Author(s)

Danail Obreschkow


graphx documentation built on Feb. 3, 2022, 5:07 p.m.

Related to cubehelix in graphx...