Rdocumentation
powered by
Learn R Programming
scales (version 0.1.0)
gradient_n_pal: Arbitrary colour gradient palette (continous).
Description
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
space
colour space in which to calculate gradient. "Lab" usually best unless gradient goes through white.