theme_gdocs: Theme with Google Docs Chart defaults

Description Usage Arguments Examples

View source: R/gdocs.R

Description

Theme similar to the default look of charts in Google Docs.

Usage

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

Arguments

base_size

base font size, given in pts.

base_family

base font family

Examples

1
2
3
4
5
6
library("ggplot2")

p <- ggplot(mtcars) +
  geom_point(aes(x = wt, y = mpg, colour = factor(gear))) +
  facet_wrap(~am)
p + theme_gdocs() + scale_color_gdocs()

Example output



ggthemes documentation built on Jan. 20, 2021, 5:05 p.m.