Shaded error bar on stair plot
Show older comments
I'm trying to replicate a shaded error bar on a stair plot (attached example)
here is some example data I'm using:
x = (1:1:12)';
y = 100*rand(12,1);
yerr = (3+3)*rand(12,1);
figure
stairs(x,y,'b');
hold on;
errorbar(x,y,yerr,'.');
I've tried several shaded error bar functions from FileExchange with no luck (i.e. https://se.mathworks.com/matlabcentral/fileexchange/26311-raacampbell-shadederrorbar)
Thanks
Example:

1 Comment
Paschal OHare
on 16 Dec 2016
Edited: Paschal OHare
on 16 Dec 2016
Answers (0)
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!