Skip to contents

Removal of all text and ticks from both axis, in a ggplot2 plot.

Usage

plt_no_text

Format

An object of class theme (inherits from gg) of length 2.

Value

A ggplot2 object.

Examples


library(ggplot2)

plot <-
  ggplot(mtcars,aes(hp,drat))+
  geom_point()

plot


plot + plt_no_text