Learn R Programming

cowplot (version 1.1.3)

theme_nothing: Create a completely empty theme

Description

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

Usage

theme_nothing(font_size = 14, font_family = "", rel_small = 12/14)

Value

The theme.

Arguments

font_size

Overall font size. Default is 14.

font_family

Base font family.

rel_small

Relative size of small text

Examples

Run this code
library(ggplot2)

ggplot(mtcars, aes(disp, mpg, color = cyl)) +
  geom_point() +
  theme_nothing()

Run the code above in your browser using DataLab