Re: How to get data from Histogram
- To: mathgroup at smc.vnet.net
- Subject: [mg97409] Re: [mg97367] How to get data from Histogram
- From: DrMajorBob <btreat1 at austin.rr.com>
- Date: Thu, 12 Mar 2009 05:43:23 -0500 (EST)
- References: <200903120715.CAA23397@smc.vnet.net>
- Reply-to: drmajorbob at bigfoot.com
Help has the following example: {g, {binCounts}} = Reap[Histogram[ RandomReal[NormalDistribution[0, 1], 100], {-2, 2, 0.25}, Function[{bins, counts}, Sow[counts]]]]; binCounts {{3, 4, 5, 6, 11, 3, 12, 6, 5, 13, 7, 4, 10, 2, 3, 2}} Bobby On Thu, 12 Mar 2009 02:15:57 -0500, Jozef Pulko <jozef.pulko at googlemail.com> wrote: > HI to all, > > i am using Mathematica 7.0.0. > > what I would like to do is to somehow get data out of histogram > generated by > Histogram[]. > > For an example: > > I tried to do find the frequency of my data with BinCounts[]... but I > need > to manually chose binsize an binwindow. > > By using Histogram[] the binsize and binwindow are chosen automatically > with > smart algorithms, but only plotted. is there any way to get data out of > plotted histogram? > > Thnx, > > Jozef > > -- DrMajorBob at bigfoot.com
- Follow-Ups:
- Re: Re: How to get data from Histogram
- From: "Jozef Pulko" <jozef.pulko@googlemail.com>
- Re: Re: How to get data from Histogram
- References:
- How to get data from Histogram
- From: "Jozef Pulko" <jozef.pulko@googlemail.com>
- How to get data from Histogram