theme_cowplot_cl: ggplot2 theme based on 'theme_cowplot'

View source: R/cl_themes.R

theme_cowplot_clR Documentation

ggplot2 theme based on theme_cowplot

Description

Modified version of theme_cowplot for publication quality graph creation.

Usage

theme_cowplot_cl(font.size = 11)

Arguments

font.size

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

Examples

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

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