[R] Scatterplot color options in CAR package?

From: Rick DeShon <deshon_at_msu.edu>
Date: Thu 02 Feb 2006 - 01:23:14 EST

Hi All.

I'd like to change the default plotting colors used to construct a scatterplot with regression line in the CAR package.


scatterplot(y~pred,smooth=FALSE, xlab="X", ylab="Y", lwd=2)

If I change the palette (e.g., palette(ranbow(6)), I can change the color of the lines and points.

However, the axes and labels remain in black (i.e., the first color in the default palette).

Is there a way to change the color used to when forming the axes, labels, and ticks in the Scatterplot routine?

Thanks in advance for any ideas!


Rick DeShon
306 Psychology Building
Department of Psychology
Michigan State University
East Lansing, MI 48824-1116

	[[alternative HTML version deleted]]

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Feb 02 01:30:31 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:16 EST