theme_bw_cl: ggplot2 theme based on 'theme_bw' and 'theme_cowplot' that...

View source: R/cl_themes.R

theme_bw_clR Documentation

ggplot2 theme based on theme_bw and theme_cowplot that works well with facets

Description

Modified version of theme_bw and theme_cowplot for publication quality graph creation that works well with facets

Usage

theme_bw_cl(font.size = 11)

Arguments

font.size

the main font size for the graph. Equivalent to the font_size parameter in theme_bw

Examples

library(ggplot2)
data(mtcars)
ggplot(mtcars, aes(x = wt, y = mpg)) +
  geom_point(aes(color = hp)) +
  facet_grid(rows = vars(cyl)) + 
  theme_bw_cl() +
  labs(title = "Graph title",
       subtitle = "Graph Subtitle", 
       caption = "Graph caption") 

ChandlerLutz/CLmisc documentation built on Dec. 2, 2022, 12:40 p.m.