theme_base: Theme Base

Description Usage Arguments See Also Examples

Description

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

Usage

1
theme_base(base_size = 16, base_family = "")

Arguments

base_size

base font size

base_family

base font family

See Also

Other themes: theme_clean, theme_foundation, theme_igray, theme_par, theme_solid

Examples

1
2
3
4
5
6
7
8
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()

Example output



ggthemes documentation built on May 13, 2019, 5:04 p.m.