ggtextures
ggtextures copied to clipboard
Simple dotted pattern (feature request)
Hi,
First, thanks for this great package!
I wondered if there was a way to tweak your geoms in order to add "simple" patterns like the dotted one (similar to the dotted texture in MS Excel).
For now, it does not seem possible to use a non-image as a pattern, I tried to tweak it myself but I do not master ggplot prototypes enough yet.
Do you think this is something addable to your package?
I'm also interested on this. I thought of drawing my own patterns as svg files and then load them. Haven't had the time to try it yet, but it should do the trick I guess. It's a shame such a powerful tool as ggplot2 cannot do this simple things :(
Or even simple cross lines or grid lines or other liney patterns like these. These should be controllable via aesthetics so they can be set to a varying factor column. Kinda like how linetype is an aes.
I suggest you look into ggpattern: https://github.com/coolbutuseless/ggpattern
I've tried to add patterns to stat_summary using that package, and I can't. I like to use stat_summary a lot, so that I'm plotting all the data as well as the summarized data. So until a patterning package can integrate well with existing ggplot objects, I really can't use it...