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 http://www.mathworks.com/access/helpdesk/help/techdoc/ref/hist.html", 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**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Histogram in MATLAB

Loading...

Similar Threads for Histogram MATLAB | Date |
---|---|

MATLAB Matlab histogram | Apr 4, 2018 |

2D signal-pair histogram | Mar 1, 2018 |

MATLAB histogram | Nov 16, 2014 |

Histogram coloured by different hues in matlab | Sep 11, 2013 |

MATLAB Beginner, Need Help with Histograms | May 31, 2012 |

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