Learn R Programming

ggmap (version 0.7)

theme_nothing: Make a blank ggplot2 theme.

Description

Make a blank ggplot2 theme.

Usage

theme_nothing(base_size=12)

Arguments

base_size
base size, not used.

Value

  • a ggplot2 theme (i.e., a list of class options).

Details

theme_nothing simply strips all thematic element in ggplot2 for map plotting.

Examples

Run this code
library(ggplot2)
df <- expand.grid(x = 1:100,y = 1:100)[sample(100^2,.75*100^2),]
qplot(x, y, data = df, geom = 'tile')
qplot(x, y, data = df, geom = 'tile') + theme_nothing()

Run the code above in your browser using DataLab