scale_cubehelix: scale_cubehelix

scale_cubehelixR Documentation

scale_cubehelix

Description

scale_cubehelix

scale_fill_cubehelix

scale_color_cubehelix

Usage

scale_cubehelix(
  aesthetics,
  ...,
  start = 0,
  rot = 0.4,
  gamma = 1,
  chrom = 0.8,
  light = 0.85,
  dark = 0.15
)

scale_fill_cubehelix(...)

scale_color_cubehelix(...)

Arguments

...

further arguments to ggplot2::continuous_scale()

start

see Details

rot

see Details

gamma

see Details

light

see Details

dark

see Details

name

as in ggplot2::continuous_scale()

Details

starting hue (here, start) is:

  • start in seaborn.cubehelix_palette

  • h in chroma::cubehelix_map()

chromaticity is:

  • hue in seaborn.cubehelix_palette

  • c in chroma::cubehelix_map()

lightness and darkness:

  • valid range is 0, 1 in both.

gamma:

  • valid range is [0, Inf) in both

  • default is 1.0

  • sane values seem to be in 0.5, 3 (whitened, darkened)

See Also

  • chroma::cubehelix_scale()

  • chroma::cubehelix_map()


BAAQMD/ggtools documentation built on Feb. 8, 2023, 6:22 p.m.