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")
The main title of this multiplot is very small. Is there a way to change the title text size and font.
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")
The main title of this multiplot is very small. Is there a way to change the title text size and font.
Due to changes in both packages
grid
andgridExtra
, the current answer is outdated. Library packagegrid
is also required to usetextGrob
andgpar
.The new code should include both packages:
Edit with v>=2.0.0 of gridExtra,
main
has becometop
(for consistency withbottom
,left
andright
).