Remove white space between plots and table in grid.arrange

后端 未结 2 494
逝去的感伤
逝去的感伤 2021-01-02 10:13

I would like to remove the large spacing that is inserted by default between the plots and the table in a grid.arrange, as shown in the MWE hereafter:

requir         


        
2条回答
  •  南方客
    南方客 (楼主)
    2021-01-02 10:54

    I actually found the parameter ruling the spacing between grobs: heights, see line below

    grid.arrange(plots, table, heights=c(5,1))
    

提交回复
热议问题