Closed
Description
I'm trying to generate a plot with points with no border displayed, just fill and to be able to change their size. However, once stroke=NA
, I cannot change the size of the points.
library(ggplot2)
df = data.frame(x=rnorm(100), y=rnorm(100))
ggplot(df, aes(x, y)) + geom_point(shape=21, stroke=NA, fill="black", size=5)
ggplot(df, aes(x, y)) + geom_point(shape=21, stroke=NA, fill="black", size=0.5)
Created on 2021-09-20 by the reprex package (v2.0.1)