Theme similar to the default settings of the ‘base’ R graphics.
theme_base(base_size = 16, base_family = "")
base font size
base font family
Other themes: theme_foundation
,
theme_igray
, theme_par
,
theme_solid
# NOT RUN {
library("ggplot2")
p <- ggplot(mtcars) + geom_point(aes(x = wt, y = mpg,
colour=factor(gear))) + facet_wrap(~am)
p + theme_base()
# }
Run the code above in your browser using DataLab