Generate the Cube Helix colour palette, designed to appropriately display of intensity images, as the brightness increases monotonically when displayed in greyscale.
cubehelix(n, r = 1.5, hue = 1, gamma = 1, rev = FALSE)
Returns an n-vector of RGB colour strings.
integer number of colours in the scale
real number specifying the number of rotations of the helix over the scale
non-negative number specifying the colour intensity from grey (0) to normal (1) and over-saturated (>1)
positive number specifying the relative importance of low vs high values
logical flag indicating whether the ordering of the colors should be reversed
Danail Obreschkow
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.