Rebinning histogram in root

I have a histogram with constant bin width, where the x axis range is (0,10). I want to redraw the histogram in the same range but with bin width reduced by a factor of 2.

_ROOT Version: 6.12/06

The TH1::Rebin method can only increase the bin width (it can merge a group of bins into a one new bin).
If you want to have a finer binning, you need to create and fill your histogram anew (e.g. when creating it, increase the number of bins by a factor of 2).

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.