Set the colors yourself using the par.settings= argument of xyplot or
trellis.par.set. See ?xyplot and ?trellis.par.set for more info.
If you follow the instructions on the last line of every post to r-help you
will get more detailed answers.
On 12/26/06, Osman Al-Radi <osman.al.radi at gmail.com>
wrote:> Hello,
>
> I have a longitudinal data with about 30 subjects. I used xyplot() to plot
> the longitudinal data. One problem is that xyplot() recycles the color of
> auto.key so that every 7th subject has the same color (symbol if setps()
was
> used). Is there a way so that every subject will have a unique color or
> symbol?
>
> Thanks
>
> Osman
>
> --
> Osman O. Al-Radi, MD, MSc, FRCSC
> Fellow, Cardiovascular Surgery
> The Hospital for Sick Children
> University of Toronto, Canada
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>