Skip to content
Prev 350617 / 398502 Next

ggplot, Plot title at the bottom of plot

Hello All,

I am looking for the answer to simple question:

In ggplot, how to put plot title at the bottom of plot ?

This code :

qplot(rnorm(100)) + ggtitle("My Title")

puts the title at middle and top of plot while I want it to be at middle
and *Bottom* of the plot.

Using

+theme(plot.title = element_text(vjust = 10))

is not a good option as it can write on the top of the x-axis labels and
there might not be enough space for title. Moreover one do not want to
adjust "vjust" value all the time.

Thanks

--

Sheila