If you use V7 and you are upset that with this trick you cannot use the built-in bunker height specification ("Count", "Probability", "ProbabilityDensity", etc.), you can change the Sjord answers above to return the bins, normalized, but you want to. For example, if you want bit heights to be used with
data = RandomReal[NormalDistribution[0, 1], 200];
Histogram[data, Automatic, "Probability"]
you can use instead
res = Reap[Histogram[data, Automatic,
(ret =
Sow[{
]]
The counterpart to "ProbabilityDensity" is
res = Reap[Histogram[data, Automatic,
(binWidth =
ret =
Sow[{
]]
source
share