facetTheme: Function facetTheme

Description Usage Arguments Value Author(s) Examples

View source: R/ThemePack.R

Description

A basic theme for facetted plots that sets relative font sizes for common graphic elements. Use in conjunction with baseFont to easily adjust all fonts in a plot.

Usage

1
facetTheme(base_size = 18, base_family = "")

Arguments

base_size

Size for the basefont in points (Default = 18)

base_family

Set the font family

Value

A ggplot theme that can be added to a plot object

Author(s)

John Thompson, john.thompson@bms.com

Examples

1
2
Myggplot = myggplot + facetTheme(12)  #start with a 12pt font theme
Myggplot = myggplot + baseFont(24)  #change plot to 24pt base.

jrthompson54/DGE.Tools2 documentation built on May 12, 2021, 8:47 p.m.