Re: [ROOT] Histogram bin sizes

From: Henning Kiel (kiel@physik.uni-dortmund.de)
Date: Thu May 08 2003 - 14:41:36 MEST


On Thu, 8 May 2003, K.-Michael Aye wrote:

> Hi all,
>
> While I am learning how to 'bin' properly, I have discovered something
> odd, maybe somebody could explain that/
> I attached a mini script which creates two histograms, filled by a
> simple vector with values from 1 to 10, only that the second histogram
> has a wider range to cover with the same number of bins, therefore the
> bin size should be smaller than in the first histogram.
> Why does it then look from the plot as if the bins are bigger in the
> second histogram?

just an optical phenomenon...
try counting the number of bins in one and the other histogram.
the lower has more bins for the same number of cm.

Ciao,
Henning



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET