[R] How to adjust the distance between legend and the plot (xyplot)

2012-04-16 Thread Jun Shen
Dear list, As the title indicates if I draw the legend outside of the plot, how do I adjust the distance between the legend and the plot? The default setting is too close. Thanks. Here is the sample code I have ==

Re: [R] How to adjust the distance between legend and the plot (xyplot)

2012-04-16 Thread David Winsemius
On Apr 16, 2012, at 11:43 AM, Jun Shen wrote: Dear list, As the title indicates if I draw the legend outside of the plot, how do I adjust the distance between the legend and the plot? The default setting is too close. Thanks. From the help page: just A character or numeric vector of

Re: [R] How to adjust the distance between legend and the plot (xyplot)

2012-04-16 Thread Peter Ehlers
On 2012-04-16 08:51, David Winsemius wrote: On Apr 16, 2012, at 11:43 AM, Jun Shen wrote: Dear list, As the title indicates if I draw the legend outside of the plot, how do I adjust the distance between the legend and the plot? The default setting is too close. Thanks. From the help

Re: [R] How to adjust the distance between legend and the plot (xyplot)

2012-04-16 Thread Jun Shen
Hi, Peter, Thanks. This is exactly what I am looking for! Just a little concern. Since there are so many parameters in the trellis.par, how do we even know there is one that can do what we want? The documentation does not really have that much details. Jun On Mon, Apr 16, 2012 at 4:29 PM, Peter

Re: [R] How to adjust the distance between legend and the plot (xyplot)

2012-04-16 Thread David Winsemius
On Apr 16, 2012, at 5:53 PM, Jun Shen wrote: Hi, Peter, Thanks. This is exactly what I am looking for! Just a little concern. Since there are so many parameters in the trellis.par, how do we even know there is one that can do what we want? The documentation does not really have that

Re: [R] How to adjust the distance between legend and the plot (xyplot)

2012-04-16 Thread Peter Ehlers
On 2012-04-16 14:53, Jun Shen wrote: Hi, Peter, Thanks. This is exactly what I am looking for! Just a little concern. Since there are so many parameters in the trellis.par, how do we even know there is one that can do what we want? The documentation does not really have that much details.