[R] Compact presentation of multiple figures

From: Michael Kubovy <kubovy_at_virginia.edu>
Date: Sun 15 Oct 2006 - 20:07:54 GMT


Dear r-helpers,

I have six panels: op(par(mfrow = c(2, 3), xaxt = 'n', yaxt = 'n', pty = 's').
Each of them has a variable main = 'i', and xlab = '', ylab = ''

I would like to achieve two things:
(1) a common x-axis label under panel 5, and one label to the left of
panels 1 and 4
(2) minimal space between the panels.

I have looked for examples, and even the thorough "Les paramètres graphiques" didn't help me: I haven't been able to reduce the space between the rows of panels nearly enough. My best attempt: par(pty = 's', xaxt = 'n', yaxt = 'n', mfrow = c(2, 3), mgp = c(1, 0, 0), mar = c(1.1, 2.1, 1.1, 0.1))



Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766

WWW: http://www.people.virginia.edu/~mk9y/

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 and provide commented, minimal, self-contained, reproducible code. Received on Mon Oct 16 06:13:35 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 15 Oct 2006 - 20:30:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.