On Tue, 2007-02-13 at 08:31 -0800, Strongbad78 wrote:
> Hi all,
> For aestethic purposes, I would like to plot points on an xy plot that
> consist of a filled circle with a black outline.
> I can sort of bodge it by plotting pch=21, col="black" and pch=16, col="red"
> on the same plot, but it looks a bit ugly and there are problems when points
> overlap.
> Can anyone think of a way around this?
> Thanks in advance
> Tony

Is this what you want?

  plot(rnorm(10), col = "black", bg = "red", pch = 21)

See the Details in ?points

HTH,

Marc Schwartz

______________________________________________
R-help@stat.math.ethz.ch 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