This is a custom ggplot2 theme loosely based on recommendations of Edward Tufte, Stephen Few, and others. By default, the panel background is blank, gridlines are removed, and axis colors are grey to minimize distraction from the data. This theme is designed for use in PowerPoint with a white background.
1 2 | theme_bg_ppt(base_size = 11, base_family = "", xticks = TRUE,
yticks = TRUE, family = NULL)
|
base_size |
base font size |
base_family |
base font family |
xticks |
logical indicating whether tick marks should be displayed on the x-axis |
yticks |
logical indicating whether tick marks should be displayed on the y-axis |
family |
string with a font family name |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.