[R] Colour Point Plot

2010-08-11 Thread Turn & Fall

Simple question.

How do you change the standard plotting function so that points are solid
and can have a pretty colour?

Thanks for the help
-- 
View this message in context: 
http://r.789695.n4.nabble.com/Colour-Point-Plot-tp2321433p2321433.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.


Re: [R] Colour Point Plot

2010-08-11 Thread Wu Gong

Hi,

?plot will help you.

plot(0:18,col="white")
points(0:18,0:18,pch=0:18,col=rainbow(19),cex=2)


Turn & Fall wrote:
> 
> How do you change the standard plotting function so that points are solid
> and can have a pretty colour?
> 


-
A R learner.
-- 
View this message in context: 
http://r.789695.n4.nabble.com/Colour-Point-Plot-tp2321433p2321862.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.