Minimal ggplot2 theme
1 |
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
library(ggplot)
ggplot(mtcars, aes(wt, mpg)) +
geom_point() +
labs(title = "A title", subtitle = "A subtitle", x = "Weight", y = "MPG") +
theme_fortou()
set_theme(theme_fortou())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.