You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although we'd still welcome a PR that adds a geom_circle_pattern() to {ggpattern} in the future it may be possible to directly use pattern/gradient fills with ggforce::geom_circle(): thomasp85/ggforce#323
I opened a PR in {ggforce} to allow pattern fills in geom_circle() but I checked and it doesn't really support this use case.
However I suspect in R 4.2+ (with a compatible graphics device) you could do this in {ggplot2} 3.5+ using geom_point() with shape = 21 (the circle with separate fill) and a large enough size value and a relevant list of grid::pattern()fill values perhaps via gridpattern::patternFill("image").
Also closed by #167 . Currently we only do patterns for the "filled shapes" e.g. shape = 21 (filled circle---the default) through shape 25 (filled triangle point down). The other point shapes are passed through unaltered.
Activity
[-]Support for geom_point or some kind of circle?[FEAT][/-][+]Support for 'geom_circle()'[/+]coolbutuseless commentedon Nov 3, 2021
Note to self (or future code submitter) -
geom_circlefrom {ggforce} is probably the ideal candidate for adaptation.https://cran.r-project.org/package=ggforce
[-]Support for 'geom_circle()'[/-][+]Support for `geom_circle()`[/+]trevorld commentedon Apr 24, 2024
Although we'd still welcome a PR that adds a
geom_circle_pattern()to{ggpattern}in the future it may be possible to directly use pattern/gradient fills withggforce::geom_circle(): thomasp85/ggforce#323[-]Support for `geom_circle()`[/-][+]Support for `geom_point_pattern()`[/+]trevorld commentedon Dec 11, 2024
{ggforce}to allow pattern fills ingeom_circle()but I checked and it doesn't really support this use case.{ggplot2}3.5+ usinggeom_point()withshape = 21(the circle with separate fill) and a large enoughsizevalue and a relevant list ofgrid::pattern()fillvalues perhaps viagridpattern::patternFill("image").[-]Support for `geom_point_pattern()`[/-][+]`geom_circle_pattern()`[/+][-]`geom_circle_pattern()`[/-][+]`geom_point_pattern()`[/+]trevorld commentedon Nov 14, 2026
Also closed by #167 . Currently we only do patterns for the "filled shapes" e.g. shape = 21 (filled circle---the default) through shape 25 (filled triangle point down). The other point shapes are passed through unaltered.