Plot error bars in x and y
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
errorbarxy plots errors in both x and y. Errors can be asymmetric and vary by point. No toolboxes required.
Usage is simple:
x = linspace(0,2,20);
y = sin(2*pi*x);
dx = 0.1*ones(size(x));
dy = 0.3*ones(size(x));
plot(x,y);
errorbarxy(x,y,dx,dy);
Additional examples here: https://github.com/cthissen/errorbarxy
Cite As
Christopher Thissen (2026). errorbarxy (https://github.com/cthissen/errorbarxy), GitHub. Retrieved .
Acknowledgements
Inspired by: HERRORBAR, errorbarxy, xyerrorbar, errorbarxy, ploterr, Plot data with error bars on both x and y axes, errbar
Inspired: superbar
General Information
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | updated description
updated description
|
