View source: R/visualization.R
| scale_colour_aelab_c | R Documentation |
Continuous ggplot2 colour scale using an aelab palette.
scale_colour_aelab_c(name, direction = 1)
scale_color_aelab_c(name, direction = 1)
name |
Palette name passed to |
direction |
|
A ggplot2 scale.
## Not run:
ggplot2::ggplot(mtcars, ggplot2::aes(wt, mpg, colour = mpg)) +
ggplot2::geom_point() + scale_colour_aelab_c("rainbow")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.