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

______________________________________________
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.

Reply via email to