Hello!

In a grouped Dotplot, is there any way to set the color of error bars
to be the same as the corresponding symbols?


Example data:

require(lattice)
require(Hmisc)
data(barley)

Dotplot(variety~Cbind(yield, yield+2, yield-2)|year, groups=site,
data=barley)


I experimented with changing trellis settings of plot.line (as
mentioned in the Hmisc documentation) as well as col.line settings in
"simpleTheme", but that didn't work. Changing the error bars to any
one other color does work, but I can't seem to figure out how to set
them to the color of each group-specific symbol...

I'd be grateful for any advice,

Irene

______________________________________________
R-help@r-project.org 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