ploterr is a universal tool for plotting data with error bars. The following features are supported:
- linear/logarithmic scaling
- x and/or y error bars
- relative/absolute errors
- width of bar handles adjustable
Basically it unifies the features of errorbarxy, errorbarloglog, errorbar_x and errorbar in one single program.
For a detailed description and examples see the documentation in the file.
The technique for plotting the error bars is adapted from MATLAB's v6 errorbar, which is also used by Goetz Huesken's errorbar_x. With this technique the x error bars as well as the y error bars are one big line object, in contrast to errorbarloglog where each single error bar consists of three separate lines. That prevents an overflow of the legend with lots of separate line objects and makes it a lot easier to change the line style of the error bars.
Felix Zoergiebel (2023). ploterr (https://www.mathworks.com/matlabcentral/fileexchange/22216-ploterr), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Added properties hhabsx, hhabsy and hhabsxy: Set the handle size to an absolute value rather than a fraction of the mean distance of the datapoints.
Bugfix. It is now possible to use no options.
Changed the user interface. Handle sizes and logarithmic scaling can now be set via properties. Passing LineSpec is not compulsory anymore when manually setting logscale or handle sizes.