theme_cowplot: Modified cowplot theme

View source: R/theme_cowplot.R

theme_cowplotR Documentation

Modified cowplot theme

Description

Made right margin big enough to show max x-axis value for horizontal plot. Made no backgroud when using facets. See https://github.com/wilkelab/cowplot/blob/master/R/themes.R for the original cowplot theme.

Usage

theme_cowplot(
  font_size = 14,
  font_family = "",
  line_size = 0.5,
  rel_small = 12/14,
  rel_tiny = 11/14,
  rel_large = 16/14
)

Arguments

font_size

Overall font size.

font_family

Font family for plot title, axis titles and labels, legend texts, etc.

line_size

Line size for axis lines.

rel_small

Relative size of small text (e.g., axis tick labels)

rel_tiny

Relative size of tiny text (e.g., caption)

rel_large

Relative size of large text (e.g., title)


gmlang/ezplot documentation built on Sept. 18, 2022, 6:33 a.m.