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

Federico Calboli f.calboli at imperial.ac.uk
Sat Mar 26 18:56:54 CET 2005

On Sat, 2005-03-26 at 17:44 +0000, Hess, Stephane wrote:
> 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.

There is a book called `Gráficos Estadísticos con R' under "contributed
documentation" in the main R website. It should prove useful. The book
is in spanish, but as it is a "graphical" manual, it should not matter
much. If in troubles email me privately.



Federico C. F. Calboli
Department of Epidemiology and Public Health
Imperial College, St Mary's Campus
Norfolk Place, London W2 1PG

Tel  +44 (0)20 7594 1602     Fax (+44) 020 7594 3193

f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com

More information about the R-help mailing list