[R] quick "points" question

Richard Nixon richard.nixon at mrc-bsu.cam.ac.uk
Tue Sep 27 16:57:42 CEST 2005


Hi
Just one of those niggles.......

I've just been trying to plot a filled circle.
I thought that this would do it

plot(1,1,type="n")
points(1,1,pch=1,bg="blue",cex=5)
#bg: background ("fill") color for open plot symbols

But I need to do this instead
points(1.2,1,pch=19,col="blue",cex=5)

Am I misunderstanding the "bg" option in the points function?

Richard

-- 
Dr. Richard Nixon, MRC Biostatistics Unit, Cambridge, UK
http://www.mrc-bsu.cam.ac.uk/personal/richard




More information about the R-help mailing list