Removes text and formatting from x and/or y-axes.

theme_blank_x()

theme_blank_y()

theme_blank_xy()

Value

A ggplot theme object.

Examples

require(ggplot2)

# blank x-axis theme
ggplot(iris) +
  aes(x = Sepal.Length, fill = Species) +
  geom_density() +
  theme_blank_x()


# blank y-axis theme
ggplot(iris) +
  aes(x = Sepal.Length, fill = Species) +
  geom_density() +
  theme_blank_y()


# blank x- and y-axes theme
ggplot(iris) +
  aes(x = Sepal.Length, fill = Species) +
  geom_density() +
  theme_blank_xy()