Learn R Programming

SciencesPo (version 1.3.9)

theme_blank: Create a Completely Empty Theme

Description

The theme created by this function shows nothing but the plot panel.

Usage

theme_blank(font_size = 12, font_family = "")

Arguments

font_size
Overall font size. Default is 12.
font_family
Default font family.

Value

  • The theme.

Examples

Run this code
# plot with small amount of remaining padding
qplot(1:10, (1:10)^2) + theme_blank()
# remaining padding removed
qplot(1:10, (1:10)^2) + theme_blank() + labs(x = NULL, y = NULL)

Run the code above in your browser using DataLab