scale_fill_gogh {ggRtsy} | R Documentation |
Creating the color fill scale for Van Gogh Colors
Description
Creating the color fill scale for Van Gogh Colors
Usage
scale_fill_gogh(palette = "sunflowers", discrete = TRUE, reverse = FALSE, ...)
Arguments
palette |
Character name of palette in gogh_palettes_pop |
discrete |
Boolean if color aesthetic is discrete |
reverse |
Boolean if the palette should be reversed |
... |
Additional arguments used to discrete_scale() or scale_fill_gradientn() to automatically interpolate between colors. |
Value
No return value. Called for side effects.
Examples
if (require(ggplot2)) {
data <- data.frame(c = LETTERS[1:3],x = c(1,5,7),y = c(5,9,13))
ggplot(data, aes(x,fill=c))+geom_bar()+scale_fill_gogh()
}
[Package ggRtsy version 0.1.0 Index]