Hi,
I am plotting scatterplots of horsepower by torque, conditional on brand
(I'm just making up the variables for this example), and the goal is to see
both the scatterplot points as well as the smoothed line.  When I do the
following code, I get the same color for the points and line, and would like
the colors to be different, such as black points and a red smoothed line. 
How do I do that?  I can't find any examples or figure out how to manipulate
color.  Thanks.

xyplot(horsepower ~ torque | brand, MyData, type=c("p","smooth"))
-- 
View this message in context: 
http://www.nabble.com/xyplot-color-question-tp22288842p22288842.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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