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")))
Is there a simple solution to get filled points un the key ?
Renaud
> sessionInfo()
R version 2.5.0 (2007-04-23)
i386-pc-mingw32
locale:
LC_COLLATE=French_France.1252;LC_CTYPE=French_France.1252;LC_MONETARY=French_France.1252;LC_NUMERIC=C;LC_TIME=French_France.1252
attached base packages:
[1] "stats" "graphics" "grDevices" "utils" "datasets"
"methods" "base"
other attached packages:
lattice
"0.15-6"
--
Renaud LANCELOT
Département Systèmes Biologiques du CIRAD
CIRAD, Biological Systems Department
Campus International de Baillarguet
TA 30 / B
F34398 Montpellier
Tel +33 (0)4 67 59 37 17
Secr. +33 (0)4 67 59 37 37
Fax +33 (0)4 67 59 37 95
______________________________________________
[email protected] 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.