MATLAB: Adjustment of the histogram bar’s thickness

histfhistogram

data=[-0.00044;0.01355;0.00755;0.00455;0.01555;0.01955;0.00555;0.00455;0.01755;0.01655];
figure;
hist(data)
%I need to reduce the bars thickness of histogram

Best Answer

Use bar instead; much simpler to control...
[n,x]=hist(data);
h=bar(x,n);
doc bar % for the rest of the details...