I have two plots arranged side by side with gridExtra::grid.arrange
. I can put a title on top of them with the top
argument. Problem is, I was requested to locate the title on the top left of the plot.
A reproducible example:
library(ggplot2)
library(gridExtra)
p1 <- qplot(1:20)
p2 <- qplot(30, 35)
grid.arrange(p1, p2, nrow = 1, top = "Title")
which produces
But what I need is:
I read several times the ?arrangeGrob
file (I think there lies my answer), but haven't figured out how to achieve it.