scale_color_luc_c | R Documentation |
Loyola University Chicago themed ggplot2
color palettes
scale_color_luc_c(reverse = FALSE, ...) scale_fill_luc_c(reverse = FALSE, ...) scale_color_luc_b(reverse = FALSE, ...) scale_fill_luc_b(reverse = FALSE, ...) scale_color_luc_d(...) scale_fill_luc_d(...) luc_palette(n)
reverse |
reverse color order |
... |
additional method arguments |
n |
number of colors |
https://drsimonj.svbtle.com/creating-corporate-colour-palettes-for-ggplot2
https://www.luc.edu/umc/brandstandards/graphicidentity/colorpalette/
if (require(ggplot2)) { ggplot(mtcars, aes(hp, mpg, color = mpg)) + geom_point(size = 4) + scale_color_luc_c(reverse = TRUE) } luc_palette(2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.