For my purposes, I only need to use a matrix layout (not mfrow
, or split.screen
).
I was wondering in a 7 x 4
layout for 28
ordered plots how could I minimize (I will not need any axes or axes labels, only the frame is enough) all the possible spaces between the 28 plots?
m = matrix(c(1:7, 8:14, 15:21, 22:28), nrow = 7); layout(m)
par(mar = c(1, 1, 1, 1))
lapply(1:28, plot, t = "n")