Adjust the horizontal tick length on errorbar plots for both linear x scale and log base 10 x scale. Supply the handle to the errorbar and a tick width as fraction of x-axis length. The function works on the current figure.
Tom Millard (2019). eb_ticklength (https://www.mathworks.com/matlabcentral/fileexchange/43191-eb_ticklength), MATLAB Central File Exchange. Retrieved .