[ROOT] Rebinning histograms

From: Alberto Pulvirenti (pulvir@mail.cern.ch)
Date: Thu Nov 18 2004 - 14:02:38 MET


Dear all,

sorry for the repetition, but I think it is the case to show what really 
happens to me.

I have created a simple macro where I create a histogram with a given 
number of bins and limits.
I filled it randomy with a gaussian centered to the middle point of the 
histogram range.

Then, I changed the histogram binning, simply doubling the number of bins, 
and leavin the bin range unchanged.

What I obtain is in the second pad of the picture, that is the histogram 
is not any more centered to 0. 
Anyway, in the stats pavetext, the Mean is the same.

What wrong did I do?

Cheers,
	Alberto


c.gif



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET