theme_fivethirtyeight: Theme inspired by fivethirtyeight.com plots

Description Usage Arguments Examples

Description

Theme inspired by the plots on http://fivethirtyeight.com.

Usage

1
theme_fivethirtyeight(base_size = 12, base_family = "sans")

Arguments

base_size

base font size

base_family

base font family

Examples

1
2
3
4
5
6
7
8
library("ggplot2")
p <- ggplot(mtcars, aes(x = wt, y = mpg, colour = factor(gear))) +
  geom_point() +
  facet_wrap(~am) +
  geom_smooth(method = "lm", se = FALSE) +
  scale_color_fivethirtyeight() +
  theme_fivethirtyeight()
p

Example output



ggthemes documentation built on May 13, 2019, 5:04 p.m.