Displaying 1 result from an estimated 1 matches for "mysymbol".
Did you mean:
mcsymbol
2006 Jul 10
2
Setting the colors of lines in a trellis plot...
...e to find the correct incantation to make the lines of the
actual plot use the colors I want. Here's the relevant section of
code:
mycolors <- c("black", "darkgreen", "red")
mylines <- Rows(superpose.line, 1:numlines);
mylines$col <- mycolors
mysymbols <- Rows(superpose.symbol, 1:numlines);
mysymbols$pch <- c(15:18)[1:numlines]
mysymbols$col <- mycolors
print(xyplot(
panel = panel.superpose,
log10(states) ~ size,
groups=category,
data=data,
type='b',
lwd = 2,
par.settings = list(superpose.symbo...