[R] xyplot with different symbols and colors?

Stefan Grosse singularitaet at gmx.net
Fri Aug 25 17:51:24 CEST 2006


Dear List,

I try to make a xyplot with different colors and symbols, I came this far:

library(DAAG)
xyplot(csoa~it|sex*agegp,data=tinting,groups=target,pch=list(1,2),auto.key=list(space
= "right"))


this produces a plot with different colors and symbols but unfortunately
the legend does only follow the color scheme and not the different symbols.

Any suggestions what to change?

And how do I change or switch of that background colors in each plots title?

Stefan Grosse



More information about the R-help mailing list