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 (2024). errorbarxy (https://github.com/cthissen/errorbarxy), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Errorbars >
Tags
Acknowledgements
Inspired by: HERRORBAR, errorbarxy, xyerrorbar, errorbarxy, ploterr, Plot data with error bars on both x and y axes, errbar
Inspired: superbar
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | updated description
updated description
|
|