add_tpl_logo: Texas Policy Lab ggplot2 theme

Description Usage Arguments Examples

View source: R/add_tpl_logo.R

Description

Add TPL logo to a single plot as grid object Modified from https://gist.github.com/Ryo-N7/67ca1c364c342a82c4098918082ca445

Usage

1
(plot, position = "top right", scale = 1)

Arguments

plot

The plot object passed to add_tpl_logo

position

The position of the logo. Options are "top left", "top right", "bottom right", and "bottom left"

scale

The scale of the TPL logo. Every single integer increase increases the scale multiplier (scale = 2 will double the size of the logo). Use decimals for fine-tuned scaling

Examples

1
2
3
4
## Not run: 
(plot, position = "top right", scale = 1.5)

## End(Not run)

connorrothschild/tpltheme documentation built on Dec. 20, 2020, 7:18 a.m.