Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: How to get data from Histogram

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97427] Re: [mg97367] How to get data from Histogram
  • From: "Jozef Pulko" <jozef.pulko at googlemail.com>
  • Date: Fri, 13 Mar 2009 04:48:30 -0500 (EST)
  • References: <200903120715.CAA23397@smc.vnet.net> <20090312072003.0L9X2.338309.imail@eastrmwml49>

Well that is exactly what I was looking for. Thanks!!

SOLUTION:
h = Histogram[RandomReal[NormalDistribution[0, 1], 200]]
counts = Cases[h, Tooltip[_, Style[label_, __]] :> label, Infinity]

However I only get number of counts in a bin.. is it possible to somehow =
extract also the bin positions?



  • Prev by Date: Re: FullGraphics of Graphics3D
  • Next by Date: max. value in a plot?
  • Previous by thread: Re: Re: Re: How to get data from Histogram
  • Next by thread: Re: How to get data from Histogram