Specify widths and heights of plots with grid.arrange
问题 I have three plots and I try to combine them with grid.arrange. The last plot should have a smaller height than the first two plots and all the plots should have the same width. A working example: p1 <- qplot(mpg, wt, data=mtcars) p2 <- p1 p3 <- p1 + theme(axis.text.y=element_blank(), axis.title.y=element_blank()) grid.arrange(arrangeGrob(p1,p2, ncol=1, nrow=2), arrangeGrob(p3, ncol=1, nrow=1), heights=c(4,1)) Here, the last plot has a larger width than the first two. In my real data, even if