Re: [R] update'ing trellis object

2009-10-04 Thread David Winsemius
On Oct 4, 2009, at 7:23 PM, David Winsemius wrote: I wonder if you noticed that you had managed to create a "fig" object that has two "inside" lists by specifying first a key "list" which required a legend list, and then specifying a "legend" list that also had a key function? The solution

Re: [R] update'ing trellis object

2009-10-04 Thread David Winsemius
I wonder if you noticed that you had managed to create a "fig" object that has two "inside" lists by specifying first a key "list" which required a legend list, and then specifying a "legend" list that also had a key function? The solution to your specific request by Kortschak "nulled-out"

Re: [R] update'ing trellis object

2009-10-04 Thread Sebastian P. Luque
On Sun, 4 Oct 2009 16:14:58 -0400, Gabor Grothendieck wrote: > On Sun, Oct 4, 2009 at 3:45 PM, Deepayan Sarkar > wrote: > Yes, unfortunately the trellis object cannot distinguish between the >> "legend" and the "key" any more. > If you are willing to muck around at the grid level you can do it

Re: [R] update'ing trellis object

2009-10-04 Thread Gabor Grothendieck
On Sun, Oct 4, 2009 at 3:45 PM, Deepayan Sarkar wrote: > > Yes, unfortunately the trellis object cannot distinguish between the > "legend" and the "key" any more. > If you are willing to muck around at the grid level you can do it. First list out the grid objects using grid.ls(). Now looking for

Re: [R] update'ing trellis object

2009-10-04 Thread Deepayan Sarkar
On Sat, Oct 3, 2009 at 7:35 PM, David Winsemius wrote: > > On Oct 3, 2009, at 7:05 PM, Sebastian P. Luque wrote: > >> Hi, >> >> I thought the following would only remove the legend element of a >> trellis object, but it actually removes both the legend and key >> elements: >> >> ---<--

Re: [R] update'ing trellis object

2009-10-03 Thread David Winsemius
On Oct 3, 2009, at 7:05 PM, Sebastian P. Luque wrote: Hi, I thought the following would only remove the legend element of a trellis object, but it actually removes both the legend and key elements: ------ fig <- xyplot(Se

[R] update'ing trellis object

2009-10-03 Thread Sebastian P. Luque
Hi, I thought the following would only remove the legend element of a trellis object, but it actually removes both the legend and key elements: ------ fig <- xyplot(Sepal.Length ~ Petal.Length, groups=Species, data=iris,

[R] update'ing trellis object

2009-10-03 Thread Sebastian P. Luque
Hi, I thought the following would only remove the legend element of a trellis object, but it actually removes both the legend and key elements: fig <- xyplot(Sepal.Length ~ Petal.Length, groups=Species, data=iris, key=list(x=1, y=0.02, corner=c(1, 0), size=3, between=1,