Adjust error bar width

版本 1.3.0.0 (1.9 KB) 作者: Arnaud Laurent
Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units).
12.8K 次下载
更新时间 2009/2/6

查看许可证

编者注: This file was selected as MATLAB Central Pick of the Week

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.

引用格式

Arnaud Laurent (2024). Adjust error bar width (https://www.mathworks.com/matlabcentral/fileexchange/22826-adjust-error-bar-width), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Errorbars 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.3.0.0

The function has been updated to enable the use of a length as an input.
A new screenshot was made.

1.2.0.0

Screenshot updated

1.1.0.0

Header updated with examples, screenshot provided

1.0.0.0