View source: R/scale_colour_papa.R
scale_colour_papa | R Documentation |
Define set of mappings from levels in the data aesthetic based on the papa palette
scale_colour_papa(palette = "main", discrete = TRUE, reverse = FALSE, ...)
p <- ggplot(mtcars, aes(mpg, wt)) + geom_point(aes(colour = factor(cyl))) p + scale_colour_papa(palette = 'cool')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.