Adjust error bar width
by Arnaud Laurent
29 Jan 2009
(Updated 06 Feb 2009)
Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units).
|
Watch this File
|
| File Information |
| Description |
function errorbar_tick(h,w,xtype)
ERRORBAR_TICK Adjust the width of errorbars
ERRORBAR_TICK(H) adjust the width of error bars with handle H. Error bars width is given as a ratio of X axis lenght (1/80).
ERRORBAR_TICK(H,W) adjust the width of error bars with handle H. The input W is given as a ratio of X axis lenght (1/W). The result is independant of the x-axis units. A ratio between 20 and 80 is usually fine.
ERRORBAR_TICK(H,W,'UNITS') adjust the width of error bars with handle H. The input W is given in the units of the curent x-axis.
|
| Acknowledgements |
This file inspired
Set Errorbar Width And Thickness and Update Error Bar Widths Automatically On Figure Resize.
|
| MATLAB release |
MATLAB 7.5 (R2007b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 02 Feb 2009 |
Header updated with examples, screenshot provided |
| 02 Feb 2009 |
Screenshot updated |
| 06 Feb 2009 |
The function has been updated to enable the use of a length as an input.
A new screenshot was made.
|
|
Contact us