I was wondering if there is way to put the count of a bin in a histogram/bar chart above the bin itself. I know that it is possible to change the xtick values to whatever you want (below the bin), however, I'd like to keep the xtick values as they are relevant to my plot. I guess it would be possible to use the text(x, y, z, label) function to place text on a plot, however, this requires you to manually set the location the text appears at and I'm preferably looking for a less tedious method.
Any suggestions would be great. Thanks