MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: getting data for Histogram

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80455] Re: [mg80428] getting data for Histogram
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Thu, 23 Aug 2007 00:59:16 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

Needs["Histograms`"]

data = RandomInteger[{0, 100}, 200];

h = Histogram[data]

Cases[h, Rectangle[_, {_, c_}] :> c, Infinity]

{11,7,8,12,11,11,13,11,7,8,7,9,13,10,9,14,11,10,7,11}


Bob Hanlon

---- Arkadiusz.Majka at gmail.com wrote: 
> Hi,
> 
> 3 years ago the following problem was given
> 
> "I assume that in the process of creating a Histogram plot,
> Mathematica must be calculating a list of BinCounts -- but how can I get at that
> list immediately after making and displaying the histogram? "
> 
> Do you know the answer?
> 
> arek
> 
> 



  • Prev by Date: Re: lower diagonal matrix
  • Next by Date: RE: getting data for Histogram
  • Previous by thread: Re: getting data for Histogram
  • Next by thread: Re: getting data for Histogram