I am having some trouble deciphering how to plot a histogram in MATLAB. My main problem is that(adsbygoogle = window.adsbygoogle || []).push({}); I want the x-axis labels to line up with the tick marks. I do NOT want the labels centered and under the bars themselves.

I have been looking into the histc() function here, but have not figured out how to make it plot properly (with bin-edge labels under tick marks).

Anyone know how to do this?

**Physics Forums - The Fusion of Science and Community**

# Histogram in MATLAB

Have something to add?

- Similar discussions for: Histogram in MATLAB

Loading...

**Physics Forums - The Fusion of Science and Community**