theme_gdocs: Theme with Google Docs Chart defaults

View source: R/gdocs.R

theme_gdocsR Documentation

Theme with Google Docs Chart defaults

Description

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

Usage

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

Arguments

base_size

base font size, given in pts.

base_family

base font family

Examples

library("ggplot2")

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

ggthemes documentation built on May 29, 2024, 10:37 a.m.