I'm making a study map with ggplot2, and would like to use a black star symbol like this ★ to plot city locations.
Is there a way to adjust the pch argument in geom_point to plot that symbol, maybe using a unicode expression? I've been successful at plotting other unicode symbols in ggplot2 with this code:
library(ggplot2)
p <- ggplot(mtcars, aes(wt, mpg))
p + geom_point(pch="\u2265", size=10)
When I use \u2605 instead for a black star symbol, the resulting plot just shows hollow rectangular symbols. Is there a different way to do this, or an alternative unicode for that symbol? I am using RStudio on my Mac if that makes a difference.
Thanks, Jay