Possible Duplicate:
left align two graph edges (ggplot)
I am trying to put two plots produced with ggplot
on the same page, top and bottom, so that their widths are the same. The data is from the same time series, x axis being time, so it is important that data points with the same time are not shifted horizontally with respect to each other. I tried grid.arrange
from package gridExtra:
grid.arrange(p1, p2)
but the plots have different widths due to different widths of y axis labels. I looked at this post that deals with similar problem, but I could not apply that information to solve my problem.