powered by
Continuous ggplot2 colour scale using an aelab palette.
scale_colour_aelab_c(name, direction = 1)scale_color_aelab_c(name, direction = 1)
scale_color_aelab_c(name, direction = 1)
A ggplot2 scale.
ggplot2
Palette name passed to aelab_palettes.
aelab_palettes
1 (default) for normal order; -1 to reverse.
1
-1
if (FALSE) { ggplot2::ggplot(mtcars, ggplot2::aes(wt, mpg, colour = mpg)) + ggplot2::geom_point() + scale_colour_aelab_c("rainbow") }
Run the code above in your browser using DataLab