increasefont function

Increases font size of text

Increases font size of text

Increases font size on all text in a ggplot2 graphic

increasefont(Size = 18)

Arguments

  • Size: font size of all textual elements in a ggplot2 graphic

Returns

ggplot2 theme code to increase the font size

Author(s)

Jim Albert

Examples

df <- data.frame(p=c(.1, .3, .5, .7, .9), Prior=rep(1/5, 5)) ggplot(df, aes(p, Prior)) + geom_point() + increasefont()