[R] Multi-plot figures with different numbers of plots in different rows

From: Hess, Stephane <stephane.hess_at_imperial.ac.uk>
Date: Sun 27 Mar 2005 - 03:44:30 EST


Dear all,

I have 5 plots that I would like to include in a single figure, spread over two rows. If I use mfrow=c(2,3), and produce my plots one after the other, I will end up with three plots in the first row, and 2 in the second row, which is what I want. However, I would like the two plots in the second row to be moved to the centre of that row, rather than occupying the two left-most cells.

I have also considered using split.screen, but this would mean that the plots in the lower half would be wider than in the upper half, whereas I want them all to be of the same size.

Thanks in advance for any suggestions on how this can be done.

Stephane



Mr Stephane Hess
Centre for Transport Studies
Imperial College London

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Mar 27 03:50:20 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:56 EST