changing title in multiplot ggplot2 using grid.arrange

前端 未结 2 1751
梦毁少年i
梦毁少年i 2020-12-13 12:48

I have managed to make a 2x2 plot using grid.arrange:

library(gridExtra)
grid.arrange(p1,p3,p2,p4, ncol=2, nrow=2, top = \"Daily QC: Blue\")
<
2条回答
  •  隐瞒了意图╮
    2020-12-13 13:00

    main=textGrob("Daily QC: Blue",gp=gpar(fontsize=20,font=3))
    

    Edit with v>=2.0.0 of gridExtra, main has become top (for consistency with bottom, left and right).

提交回复
热议问题