# MATLAB: How to change the size of error bar

error bar

I need to change the size of the vertical line of error bar. so I dont mean the size of cap like 'CapSize',18

errs = rand(1,10);x = 1:10;y = randi([10 20],1,10);figureplot(x, y)hold onheb = errorbar(x, y, errs, '.');hold offgridheb.LineWidth = 2;