[R] lattice color problem with symbols: bug?

Stefan Grosse singularitaet at gmx.net
Fri Jan 11 23:30:59 CET 2008


On Friday 11 January 2008 10:12:03 pm you wrote:
DS> It's a change in behaviour (in the sense that the default fill is no
DS> longer transparent). Otherwise there doesn't seem to be any bug. The
DS> whole point of using par.settings is so that you can use auto.key, and
DS>
DS> xyplot(x~u,groups=g,
DS>  data=test,
DS>  par.settings=list(
DS>    superpose.symbol=list(pch=c(22, 23),cex=c(1.7,1.6),col="black")
DS>    ),
DS>  auto.key = list(space = "bottom"))
DS>
DS> gives a consistent legend. If you want the fill color to be
DS> transparent, just specify fill="transparent" as Sundar suggested (but
DS> then why are you using these plotting characters?). Something like col
DS> = "black", fill = c("transparent", "black") should give you filled and
DS> empty characters.
DS>
DS> -Deepayan
DS>

Thank you very much, that did help. 

Stefan




More information about the R-help mailing list