I have a random data and want to plot the histogram with specific bin ranges. Each value of data[[x]] is actually [(data[[x]]*2.2)/4] with units as microns; where 4 is the magnification of microscope objective and 2.2 (microns) is the pixel pitch of the imaging sensor. How is it possible to show how many/ how much % lie exactly at 15 microns and 15 +/-1 micron. Just like a tolerance range.
*So if it has to be 15 microns, then (15*4)/2.2 should be the threshold value for that in data[].*
data=RandomChoice[{32,38},1632]
ListLinePlot[data, PlotStyle-> Thick, PlotTheme -> "Detailed", Filling -> Bottom, AspectRatio->1/4]
(*each pixel would appear to be 8.8 since its magnified by 4, hence 8.8 would be the step *)
Histogram[data,{25.454,29.090,8.8},"Count", PlotTheme-> Detailed, LabellingFunction -> Above]
I am trying to get a legend displayed on the histogram or plot that says this much is within range, Is this approach correct ?