MATLAB - striped area under the xy curve (bending moment distribution)
<p>what I want to achieve is a classical bending moment distribution plot that may look something like that: </p>

<p><img src="https://i.stack.imgur.com/C9sHs.jpg" alt="Example of plot I want to create"></p>

<p>I tried to use area, xy, and bar plot and the last one is the closest to what I need - but it's still not what I can accept. I can use data in arbitrary form. </p>