OLSZEWSKI@vsk02.ifj.edu.pl wrote: > > Hi, > > when I SetBins(nx,lx,hx) on an existing histogram new boundaries (lx,hx) > are not used to cut off contents outside of them as I would expect but > rather the whole contents of the histogram is reallocated into new bins. > yes, when calling TH1::SetBins the whole histogram contents must be reallocated. You change the number of bins, bin size, everything. In Root, this function is called by TTree::Draw. Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:19 MET