plt_no_grid | R Documentation |
Removal of the grid from a ggplot2 plot.
plt_no_grid
An object of class theme
(inherits from gg
) of length 1.
A ggplot2 object.
library(ggplot2)
plot <-
ggplot(mtcars,aes(hp,drat))+
geom_point()
plot
plot + plt_no_grid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.