gradient_n_pal {scales} | R Documentation |
Arbitrary colour gradient palette (continous).
gradient_n_pal(colours, values = NULL, space = "Lab")
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 |
space |
colour space in which to calculate gradient. "Lab" usually best unless gradient goes through white. |