Possible Duplicate:
how to create a plot with customized points in R?
I know in R you can use plot to specify the color of the points
plot(......,col="red")
makes the points in a scatter plot, for example, red.
How can I specify the border color of the points such that the border color is different from the fill color.
You can use the bg
parameter to handle how a point is filled. On certain types of plotting characters, this will be visible. For example...
plot(1,1,col=3, bg=2, pch=23)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With