Description Usage Arguments Source
Scale constructor for our colors
1 2 | our_scale_constructor(palette = "default", reverse = F, discrete = T,
colour = T, ...)
|
palette |
Character name of palette in our_palettes_raw |
reverse |
Boolean indicating whether the palette should be reversed |
discrete |
Boolean indicating whether color aesthetic is discrete or not |
colour |
Boolean indicating whether this is a colour or fill scale |
... |
Additional arguments passed to discrete_scale(), scale_fill_gradientn(), or scale_colour_gradientn() used based on discrete and colour_or_fill |
Adapted from: https://drsimonj.svbtle.com/creating-corporate-colour-palettes-for-ggplot2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.