Description Usage Arguments Details Examples
Minimal ggplot2 theme using the Roboto Condensed font
1 |
base_size |
base font size |
strip_text_size, strip_text_margin |
plot strip text size and margin |
subtitle_size, subtitle_margin |
plot subtitle size and margin |
plot_title_size, plot_title_margin |
plot title size and margin |
... |
Other arguments passed to |
The Roboto Condensed and Roboto Bold fonts are both Google fonts; they can be found at https://fonts.google.com/specimen/Roboto+Condensed and https://fonts.google.com/specimen/Roboto. These fonts must be installed locally on your computer for this theme to work.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) +
geom_point() +
labs(title = "A Lovely Plot",
subtitle = "What can the subtitle tell us?") +
buffer_theme()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.