Skip to contents

Removal of the grid from a ggplot2 plot.

Usage

plt_no_grid

Format

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

Value

A ggplot2 object.

Examples


library(ggplot2)

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

plot


plot + plt_no_grid