gradient_n_pal

0th

Percentile

Arbitrary colour gradient palette (continous).

Arbitrary colour gradient palette (continous).

Usage
gradient_n_pal(colours, values = NULL, space = "Lab")
Arguments
colours
vector of colours
values
if colours should not be evenly positioned along the gradient this vector gives the position (between 0 and 1) for each colour in the colours vector. See rescale for a convience functio
space
colour space in which to calculate gradient. "Lab" usually best unless gradient goes through white.
Aliases
  • gradient_n_pal
Documentation reproduced from package scales, version 0.2.2, License: MIT

Community examples

Looks like there are no examples yet.