colour.gradient {BoutrosLab.plotting.general} | R Documentation |
Creates a sequential palette of colours.
colour.gradient(
colour,
length
);
colour |
A single colour to be used as the center value of the sequence |
length |
The number of colours to include in the palette |
Ren Sun & Christine P'ng
display.colours(colour.gradient('dodgerblue2', 6));
display.colours(colour.gradient(default.colours(1), 3));