theme_grey_gouv | R Documentation |
ggplot2 grey theme with French government design template
theme_grey_gouv(...)
... |
Other params passed to |
A ggplot2
theme.
## Not run:
library(ggplot2)
ggplot(data = iris, aes(x = Sepal.Length, y = Sepal.Width)) +
geom_point(aes(color = Species, shape = Species)) +
labs(x = "Sepal Length", y = "Sepal Width", title = "Sepal Length-Width",
subtitle = "with gouv_theme()") + theme_grey_gouv() +
scale_color_gouv_discrete(palette = "pal_gouv_fr")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.