Learn R Programming

eeptools (version 0.9.1)

theme_dpi: a ggplot2 theme developed for PDF and PNG for use at the Wisconsin Department of Public Instruction

Description

This is a custom ggplot2 theme developed for the Wisconsin Department of Public Instruction

Usage

theme_dpi(base_size = 16, base_family = "")

Arguments

base_size
numeric, specify the font size as a numeric value, default is 16
base_family
character, specify the font family, this value is optional

Value

A theme object which is a list of attributes applied to a ggplot2 object.

Source

For more information see https://github.com/hadley/ggplot2/wiki/Themes

Details

All values are optional

See Also

his uses unit from the grid package extensively. See also theme_bw from the ggplot2 package.

Examples

Run this code
qplot(mpg, wt, data=mtcars) # standard
qplot(mpg, wt, data=mtcars) + theme_dpi()

Run the code above in your browser using DataLab