[R] quick "points" question

Peter Dalgaard p.dalgaard at biostat.ku.dk
Tue Sep 27 17:17:00 CEST 2005


Richard Nixon <richard.nixon at mrc-bsu.cam.ac.uk> writes:

> 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?

Sort of. The quick answer is: example(points). I think you'll get the
point.
 

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907




More information about the R-help mailing list