How to increase the font size of ggtitle in ggplot2

Use theme(), here is an example :

ggplot(cars, aes(x=speed,y=dist)) + 
    ggtitle("cars") + geom_point() + 
    theme(plot.title = element_text(size = 40, face = "bold"))

Inspired by this answer.

Leave a Comment