File Exchange

image thumbnail

set errorbar width and thickness

version 1.0 (1.97 KB) by

Set an error bar's width and thickness.

8 Downloads

Updated

View License

errorbarT(H,W,T) adjusts the width of error bars with handle H.
The input W is given in the units of the current x-axis.
The input T is the 'LineWidth' of the errorbar

use it like this:

h = errorbar(....);

errorbar_tick(h, .5, 2);

Based on code by Arnaud Laurent.

Comments and Ratings (3)

The function does not work on Matlab2014b. The function would have been very helpuful though.

Christoph

Vincent

MATLAB Release
MATLAB 7.4 (R2007a)
Acknowledgements

Inspired by: Adjust error bar width

Inspired: superbar

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video