Re: [R] problem with multiple plots (mfrow, mar)

2010-02-19 Thread Peter Neuhaus
Jim Lemon wrote: Hi Peter, The two par arguments "fin" and "pin" allow a solution. What you want is for the second values in "pin" (Plot dimensions in INches) to be the same for all your plots. You can get an approximation by using the layout function instead of mfrow and setting the height v

Re: [R] problem with multiple plots (mfrow, mar)

2010-02-19 Thread Jim Lemon
On 02/19/2010 04:10 AM, Peter Neuhaus wrote: Dear R-users, I often stack plots that have the same x-axis. To save space and have the plots themselves as large as possible I like to minimize the margins between the plots to zero. I use the "mfrow" and "mar" parameters to achieve this. However, t

Re: [R] problem with multiple plots (mfrow, mar)

2010-02-18 Thread Peter Neuhaus
Greg Snow wrote: Use outer margins. Try something like: par(mfrow=c(3,1), mar=c(0,4,0,2)+0.1, oma=c(5,0,3,0)+0.1 ) Then do your plots without resetting margins. Thanks. Perfect! This little detail has been bothering me for quite a while... Also you can use xaxt='n' rather than axes=FALS

Re: [R] problem with multiple plots (mfrow, mar)

2010-02-18 Thread Greg Snow
18, 2010 10:11 AM > To: r-help@r-project.org > Subject: [R] problem with multiple plots (mfrow, mar) > > Dear R-users, > > I often stack plots that have the same x-axis. To save space and have > the plots themselves as large as possible I like to minimize the > margins &

[R] problem with multiple plots (mfrow, mar)

2010-02-18 Thread Peter Neuhaus
Dear R-users, I often stack plots that have the same x-axis. To save space and have the plots themselves as large as possible I like to minimize the margins between the plots to zero. I use the "mfrow" and "mar" parameters to achieve this. However, the different margin settings for the individua