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

From: Federico Calboli <f.calboli_at_imperial.ac.uk>
Date: Sun 27 Mar 2005 - 03:56:54 EST

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.

Cheers,

Federico

-- 
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

______________________________________________
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 04:05:52 2005

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