trevorld / ggpattern

ggplot geoms with pattern fills
https://trevorldavis.com/R/ggpattern/dev/
Other
359 stars 18 forks source link

How to add hatches on spatail dataframe or raster stack #52

Closed albirayi closed 2 years ago

albirayi commented 2 years ago

I have to raster stacks with 4 layers each in total 8 layers. Four of them are trends and the rest for are their statistical significance. I converted them into data frame and plot using ggplot. However, I would like to add significance layers on the respective trend layers as stipples or hatch. How can I implement this using ggpattern?

trevorld commented 2 years ago

Dear @albirayi,

A "minimal, reproducible" example version of this question should be posted on a community site such as Stackoverflow or RStudio Community.

Best,

Trevor

p.s. Here is a good post explaining why: https://yihui.org/en/2017/08/so-gh-email/