On 5/27/07, Renaud Lancelot <[EMAIL PROTECTED]> wrote: > I wonder why the following code does not produce filled points in the > key, as I would have expected: > > > library(lattice) > > x <- 1:10 > > y <- rnorm(10) > > xyplot(y ~ x, pch = 21, col = "black", fill = "grey", > + key = list(space = "top", > + text = list("data"), > + points = list(pch = 21, col = "black", fill = "grey")))
A bug. I've committed a fix and will upload a new version soon. > Is there a simple solution to get filled points un the key ? In your example, adding this should work: par.settings = list(grid.pars = list(fill = "grey")), but this won't work for more than one fill color. -Deepayan ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.