Learn R Programming

ggthemes (version 2.1.0)

theme_gdocs: 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
base_family
base font family

Examples

Run this code
dsamp <- diamonds[sample(nrow(diamonds), 1000), ]
(d <- qplot(carat, price, data=dsamp, colour=clarity)
 + theme_gdocs()
 + ggtitle("Diamonds")
 + scale_color_gdocs())

Run the code above in your browser using DataLab