theme_remove | R Documentation |
Removes specified theme elements by setting them to ggplot2::element_blank()
.
theme_remove(...)
... |
(character) see Details and examples |
All combinations of the elements in ...
will be removed.
See examples.
p <- ggplot(mtcars) + geom_point() p + theme_remove("axis", "text") p + theme_remove("axis", c("text", "line"), "x") p + theme_remove("axis", c("text", "line"), c("x", "y"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.