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

A simple plotting function that graphs X vs Y along with x error bars.

You are now following this Submission

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 (2026). 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 .

Acknowledgements

Inspired: errbar, superbar

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0