theme_base: Theme Base

View source: R/base.R

theme_baseR Documentation

Theme Base

Description

Theme similar to the default settings of the ‘base’ R graphics.

Usage

theme_base(base_size = 16, base_family = "")

Arguments

base_size

base font size, given in pts.

base_family

base font family

See Also

Other themes: theme_clean(), theme_foundation(), theme_igray(), 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()
# Change values of par
par(fg = "blue", bg = "gray", col.lab = "red", font.lab = 3)
p + theme_base()

ggthemes documentation built on May 29, 2024, 10:37 a.m.