Re: [R] xyplot key issue - line colors

2008-08-05 Thread Deepayan Sarkar
On Tue, Aug 5, 2008 at 1:53 AM, Karin Lagesen <[EMAIL PROTECTED]> wrote: > > > I have a problem regarding the colors assigned to the lines in the key > to an xy plot. I specify the plot like this: > > xyplot(numbers~sqrt(breaks)|moltype+disttype, groups = type, data = alldata, > layout = c(3,2

[R] xyplot key issue - line colors

2008-08-05 Thread Karin Lagesen
I have a problem regarding the colors assigned to the lines in the key to an xy plot. I specify the plot like this: xyplot(numbers~sqrt(breaks)|moltype+disttype, groups = type, data = alldata, layout = c(3,2), type = "l" , lwd = 2, col = c("gray", "skyblue"), key = simpleKey(levels(