MATLAB: How to create hatched fill pattern histograms

hatched patternhistogramMATLABplotting

I have to create a plot with two histograms, both normalized through probability, to represent the distribution of an index S in two differenti conditions (a) and (b).
For a better visibility, I would like to add a hatched fill pattern to one of them. Here below there is how the plot looks like without the pattern.

Best Answer

hello.
You can try with the function in this url:
this is the result:
Related Question