theme_remove: theme_remove

theme_removeR Documentation

theme_remove

Description

Removes specified theme elements by setting them to ggplot2::element_blank().

Usage

theme_remove(...)

Arguments

...

(character) see Details and examples

Details

All combinations of the elements in ... will be removed. See examples.

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"))

BAAQMD/ggtools documentation built on Feb. 8, 2023, 6:22 p.m.