Skip to content
Prev 66707 / 398525 Next

Multi-plot figures with different numbers of plots indifferentrows

"Paul Murrell" <p.murrell at auckland.ac.nz> wrote in message
news:<4249D8B7.9070702 at stat.auckland.ac.nz>...
Yes, that works nicely.  Thank you very much.

I tried this wrapped with a pdf/dev.off and it works great:

pdf("test.pdf")
  <plot statements here>
dev.off()

I guess I should always use layout and avoid using mfrow or mfcol, since
it's more flexible in general.

I can't decide if the existing behavio(u)r of mfrow/mfcol is a "bug" or a
"feature" when some plots are to be left blank, and one wants to advance to
the next figure.  With your solution, I won't need to care <g>.  Thanks.

efg