I was looking for a way to fill the bars in bar plots or stacked bar plots with hashes or dots (something like the following figure).
Since it took me a long time to figure it out how to do it, I share my finding here as an answer, maybe it is useful for someone else.