This function provides a simple way to display shaded regions in a MATLAB figure. The shaded regions are constructed using the patch object and can be customized by setting the patch object properties. Type help shadedplot to see usage. Run shadedplotExamples.m for examples.
Updated the screenshot picture to include more examples.
Fixed a few typos in the comments in example script.
Added a script with example usage.