[R] Compact presentation of multiple figures
Michael Kubovy
kubovy at virginia.edu
Sun Oct 15 22:07:54 CEST 2006
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/
More information about the R-help
mailing list