theme_jjf_slides: JJF Theme Function for Slides

Description Usage Arguments Examples

View source: R/theme_jjf_slides.R

Description

JJF custom ggplot2 theme for slides Clean white backgrounds, nice narrow font, etc.

Usage

1
theme_jjf_slides(font = "Roboto Condensed", fontsize = 20)

Arguments

font

the font to use in the graph with Roboto Condensed as the default

fontsize

the font size, 12 is good for papers and 20 for slides

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 

ggplot2::ggplot(cars, aes(x = dist, y = speed)) +
  geom_point() +
  theme_jjf_slides()

# same as above, roboto Condensed is the default
ggplot2::ggplot(cars, aes(x = dist, y = speed)) +
  geom_point() +
  theme_jjf_slides(font = "Roboto Condensed")

# ggplot2::ggplot(cars, aes(x = dist, y = speed)) +
#  geom_point() +
#  theme_jjf_slides(font = "CMU Sans Serif")

## End(Not run)

jamesfeigenbaum/jjfPkg documentation built on June 17, 2018, 9:52 p.m.