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
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
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
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
&
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
5 matches
Mail list logo