This function creates a shaded error-bar plot. It is a lightweight implementation of 'shadedErrorBar' by Rob Campbell intended to be used as a local function in other scripts. It reduces the functionality to a bare minimum in order to fit the entire script into (effectively) 11 lines of code.
Marcin Konowalczyk (2021). shplot (https://www.mathworks.com/matlabcentral/fileexchange/64990-shplot), MATLAB Central File Exchange. Retrieved .
Inspired by: raacampbell/shadedErrorBar
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
How do I change facealpha in the code???
Nice and simple, for tranparancy 'facealpha' must be changed manually in the code though.