Usage
cube_helix(n = 6, start = 0, r = 0.4, hue = 0.8, gamma = 1,
light = 0.85, dark = 0.15, reverse = FALSE)scale_colour_cube_helix(..., start = 0, r = 0.4, hue = 0.8, gamma = 1,
light = 0.85, dark = 0.15, reverse = FALSE, discrete = TRUE,
guide = if (discrete) "legend" else "colourbar")
scale_color_cube_helix(..., start = 0, r = 0.4, hue = 0.8, gamma = 1,
light = 0.85, dark = 0.15, reverse = FALSE, discrete = TRUE,
guide = if (discrete) "legend" else "colourbar")
scale_fill_cube_helix(..., start = 0, r = 0.4, hue = 0.8, gamma = 1,
light = 0.85, dark = 0.15, reverse = FALSE, discrete = TRUE,
guide = if (discrete) "legend" else "colourbar")
Arguments
n
Number of colors to return (default: 6)
start
Hue to start helix at (\(\textrm{start} \in [0,3]\), default: 0)
r
Number of rotations of the helix. Can be negative. (default: 0.4)
hue
Saturation. 0 means greyscale, 1 fully saturated colors (default: 0.8)
gamma
Emphasize darker (gamma < 1) or lighter (gamma > 1) colors (default: 1)
light
Lightest lightness (default: 0.85)
dark
Darkest lightness (default: 0.15)
reverse
logical. If TRUE, reverse lightness (default: FALSE)
discrete
If TRUE, return a discrete scale, if FALSE a continuous one (default: TRUE)
guide
Type of scale guide to use. See guides