Adjust error bar width
Nota dell'editore: 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.
Cita come
Arnaud Laurent (2024). Adjust error bar width (https://www.mathworks.com/matlabcentral/fileexchange/22826-adjust-error-bar-width), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots > Errorbars >
Tag
Riconoscimenti
Ispirato: superbar, Update error bar widths automatically on figure resize, pierremegevand/errorbar_groups, set errorbar width and thickness, eb_ticklength
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.