Extending dpb's answer below by using the user-written function applyhatch_plusC (along with its extension makehatch_plus, under the same link), I managed to get this result:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/990815/image.jpeg)
using the following code:
y = [5 2 0 4 0 0
5 0 3 0 3 0
5 2 0 0 3 1];
x=categorical({'A';'B';'C';'D'});
bar(x(1:3),y,'stacked')
legend(cellstr(['a':'f'].'),'Location','northeast')
xticks(x(1:3))
im_hatchC = applyhatch_plusC(gcf,{makehatch_plus('\\7',9),makehatch_plus('//7',9),makehatch_plus('//7',3),makehatch_plus('//7',9),makehatch_plus('\\7',9),makehatch_plus('//7',3)},[1 0 0;0 0 1;0 0 0;1 0 0;0 0 1;0 1 0]);
Not optimal (given the pixeled numbers, not only in attached image but in the original output as well - if somebody knows a solution to this please leave a comment) but possibly sufficient