Border color of plot points - R plot
17,694
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)
Author by
CodeGuy
Updated on June 13, 2022Comments
-
CodeGuy almost 2 years
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.