Theme similar to the default settings of the "base" R graphics.
Details
The theme is fixed: it does not change with graphics::par(). Use
theme_par() for a theme that follows the current par() values.
See also
Other themes:
theme_clean(),
theme_foundation(),
theme_igray(),
theme_map(),
theme_par(),
theme_solid()
Examples
library("ggplot2")
p <- ggplot(mtcars) +
geom_point(aes(
x = wt,
y = mpg,
colour = factor(gear)
)) +
facet_wrap(~am)
p + theme_base()
# theme_base() is fixed; use theme_par() to follow the current par() values
old_par <- par(fg = "blue", bg = "gray", col.lab = "red", font.lab = 3)
p + theme_par()
par(old_par)
