par
"code"
"ps"
"family"
"fg"
"bg"
"adj"
"font"
"cex.axis"
"cex.lab"
"cex.main"
"cex.sub"
"col.axis"
"col.lab"
"col.main"
"col.sub"
"font.axis"
"font.lab"
"font.main"
"font.sub"
"las"
"lend"
"lheight"
"lty"
"mar"
"tcl"
"tck"
"xaxt"
"yaxt"
theme_par(base_size = par()$ps, base_family = par()$family)
theme_base
theme_foundation
theme_igray
theme_solid
library("ggplot2") p <- ggplot(mtcars) + geom_point(aes(x = wt, y = mpg, colour=factor(gear))) + facet_wrap(~am) par(font = 2, col.lab = "red", fg = "blue") p + theme_par()
Run the code above in your browser using DataLab