Re: [R] legend in multiple plot

2010-01-21 Thread Jim Lemon
On 01/21/2010 03:53 AM, Lars Skjærven wrote: Dear R users, I'm making multiple plots within the same pdf page (par(mfcol = c(5,1)), and want a legend for this at the bottom of all the plots. From previous mails it has been suggested to use par(xpd=TRUE), increase the margin at the last plot, and

Re: [R] legend in multiple plot

2010-01-20 Thread Uwe Ligges
Use outer margins around the whole thing, see argument "oma" in ?par. Uwe Ligges On 20.01.2010 17:53, Lars Skjærven wrote: Dear R users, I'm making multiple plots within the same pdf page (par(mfcol = c(5,1)), and want a legend for this at the bottom of all the plots. From previous mails it ha

[R] legend in multiple plot

2010-01-20 Thread Lars Skjærven
Dear R users, I'm making multiple plots within the same pdf page (par(mfcol = c(5,1)), and want a legend for this at the bottom of all the plots. From previous mails it has been suggested to use par(xpd=TRUE), increase the margin at the last plot, and then draw the legend. However, when I do this,