Skip to content
Prev 211372 / 398500 Next

Changing style for groups in xyplot

Antje Steller wrote:
My preferred method is to change the colors globally to enforce consistency.

sup = trellis.par.get("superpose.symbol")
sub
# make changes to sup$col and possible to sup$fill and sub$pch
trellis.par.set("superpose.symbol",sub)
show.settings()
# Do your plotting

I you want better answer, prepare an example with dummy data. The call to
xyplot you showed is not "complete".

Dieter