Custom bin values for DisplayHistogram?



Does anyone know if it’s possible (and if so, how) to set specific bin values for the DisplayHistogram module? I’m calculating number of neighbors and want to group them in columns (<3, 3, 4, 5, 6, 7, 8, >8) like the histogram below.



At this point, DisplayHistogram does not permit user-defined bins. This is a feature that we have added to our TODO list for the next release.

However, the ClassifyObjects module does permit entry of user-specified bins and gives (among other things) a histogram of measurement values as output. The histogram appears as one of several subplots in the figure window; however, if you click on the plot you want, you get a menu which allows you to open the subplot in its own window. You could then use File > Save as… in the figure window to save this graph as a file.