xerrorbar - Just like errorbar, but for uncertainty in x.

A simple plotting function that graphs X vs Y along with x error bars.
606 Downloads
Updated 12 Jan 2012

View License

It has been driving me crazy that I can't quickly get errorbar to do this on its own. Often in we have uncertainty in both x and y (or in atmospheric science the dependent variable is often on the x axis).

It is a simple function and works almost exactly like errorbar.

Cite As

Anthony Bathgate (2024). xerrorbar - Just like errorbar, but for uncertainty in x. (https://www.mathworks.com/matlabcentral/fileexchange/34559-xerrorbar-just-like-errorbar-but-for-uncertainty-in-x), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Errorbars in Help Center and MATLAB Answers
Acknowledgements

Inspired: errbar, superbar

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0