powered by
theme_pubr(base_size = 14, base_family = "") labs_pubr(base_size = 14, base_family = "") theme_classic2(base_size = 12, base_family = "")
p <- ggplot(mtcars, aes(x = wt, y = mpg)) + geom_point(aes(color = gear)) # Default plot p # Use theme_pubr() p + theme_pubr() # Format labels p + labs_pubr()
Run the code above in your browser using DataLab