powered by
Create a ggplot2 classic theme with axis lines.
theme_classic2(base_size = 12, base_family = "")
base font size
base font family
p <- ggplot(mtcars, aes(x = wt, y = mpg)) + geom_point(aes(color = gear)) # Default plot p # Use theme_classic() p + theme_classic() # Use theme_classic2() p + theme_classic2()
Run the code above in your browser using DataLab