Preserve proportion of graphs using grid.arrange

后端 未结 3 1790
夕颜
夕颜 2020-12-02 15:03

I\'m trying to arrange multiple plots using grid.arrange. It does the job by the book, and when calling:

p1 <- ggplot(subset(mtcars, cyl = 4)         


        
3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-02 15:12

    I thought I'd update this thread because grid.arrange now has this functionality:

    grid.arrange(p3, p2, ncol = 2, widths = c(1,1.2))
    

    equally sized panels

提交回复
热议问题