MathGroup Archive 2010

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

Search the Archive

Re: Histogram

  • To: mathgroup at
  • Subject: [mg112692] Re: Histogram
  • From: telefunkenvf14 <rgorka at>
  • Date: Mon, 27 Sep 2010 05:46:41 -0400 (EDT)
  • References: <i7mq5c$p0q$>

On Sep 26, 1:45 am, Themis Matsoukas <tmatsou... at> wrote:
> How can I access the {x,y} values that are plotted by Histogram?
> Themis

Modified from the documentation:

a = RandomReal[NormalDistribution[0, 1], 200];

By default, Histogram[] will automatically decide bin widths for you;
this particular example gave bin widths of 1/2. Now use functions such

BinCounts[a, 1/2]
BinLists[a, 1/2]

...which hopefully gets you close to what you wanted. (I'm guessing
this will be much easier in version 8...)


  • Prev by Date: Re: Histogram
  • Next by Date: Re: Row or column?
  • Previous by thread: Re: Histogram
  • Next by thread: Re: Histogram