mseb(x,y,errBar,lin​eProps,transparent)

version 1.3.0.0 (8.45 KB) by Andreas Trier Poulsen
Creates a 2D plot containing multiple lines with pretty shaded error bars.

4.5K Downloads

Updated 13 Feb 2015

View License

This is a tool for plotting multiple lines with pretty shaded error bars.
It is an extension of the popular shadedErrorBar, by Rob Campbell, enabling plotting of multiple data lines with overlapping errorbars.
The main improvements are:
* Optimised for the plot defult renderer instead of openGL, which is known to cause problems, e.g., with logarithmic axes and not being able to save figures as vector graphics in the eps-format.
* Turns off legends for all elements (e.g. edges and shaded area), except for the main lines.
* By default the edges of overshadowed patch areas are plotted in an non-obtrusive manner so all error bars can be seen, but avoids cluttering of the plot.
* The patches are plotted in reverse order to make sure the first entry is "on top".

Cite As

Andreas Trier Poulsen (2022). mseb(x,y,errBar,lineProps,transparent) (https://www.mathworks.com/matlabcentral/fileexchange/47950-mseb-x-y-errbar-lineprops-transparent), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: raacampbell/shadedErrorBar

Inspired: errorshade, anomaly

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!