Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Histogram V6 Bin Heights' topicStudent Support Forum > General > "Histogram V6 Bin Heights"

Help | Reply To Topic
Author Comment/Response
Irene
04/29/09 07:14am

Hello

I'm using Mathematica Version 6.

I need your help. I'd like to have the bin heights of every intervall of a histogram.

Example (see attachment, graphic is from Wolfram website): At least I need the 4 heihts of this histogram in a list.

This function on Wolframs website doesn't work. I don't know why:

{g, {binCounts}} =
Reap[Histogram[
RandomReal[NormalDistribution[0, 1], 100], {-2, 2, 0.25},
Function[{bins, counts}, Sow[counts]]]];

Thanks!!

Attachment: O_8.gif, URL: ,
Help | Reply To Topic