theme_roberts | R Documentation |
Roberts lab ggplot theme defaults
theme_roberts(
axis_font_size = 5,
axis_title_font_size = 8,
facet_font_size = 5,
font_name = "Arial",
legend_key_size = "0.2",
legend_text_font_size = 5,
legend_title_font_size = 6,
subtitle_font_size = 6,
title_font_size = 10
)
axis_font_size |
Font size for axis text |
axis_title_font_size |
Font size for axis titles |
facet_font_size |
Font size for facet titles |
font_name |
Name of font to use |
legend_key_size |
Spacing of legend items (in cm) |
legend_text_font_size |
Font size for legend text |
legend_title_font_size |
Font size for legend title |
subtitle_font_size |
Font size for subtitle |
title_font_size |
Font size for title |
A list object to use as a theme
## Not run:
ggplot(storms,
aes(x = year,
y = pressure,
color = category)) +
geom_point() +
theme_roberts()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.