You can refer to the following link which refers to a similar query as yours:
The following submissions may help you in creating a hatch pattern in your figure:
Hope these links help!
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!