theme_couse | R Documentation |
Set pretty defaults for ggplot2 objects
theme_couse(
base_size = 12,
strip_text_size = 12,
strip_text_margin = 5,
subtitle_size = 13,
subtitle_margin = 10,
plot_title_size = 16,
plot_title_margin = 10,
plot_caption_size = 10,
axis_x_margin = 10,
axis_y_margin = 5,
axis_text_size = 12,
legend_title_size = 12,
legend_text_size = 10,
fill = "#E69F00",
...
)
base_size |
base font size |
strip_text_size |
strip text size |
strip_text_margin |
bottom margin for strip title |
subtitle_size |
subtitle size |
subtitle_margin |
bottom margin for subtitle |
plot_title_size |
plot title size |
plot_title_margin |
bottom margin for plot title |
plot_caption_size |
font size of plot caption |
axis_x_margin |
top margin for x axis titl |
axis_y_margin |
right margin for y axis title |
axis_text_size |
font size of axis text labels |
legend_title_size |
font size of the legend title |
legend_text_size |
font of the legend text |
fill |
default fill color for geom_bar, geom_rect, and geom_col |
... |
other args to |
A ggplot2 theme
## Not run:
library(tidyverse)
library(cousepkg)
theme_set(theme_couse())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.