Hi,
Is there a way to do the following:
Suppose I have a histograms having 100 bins with x-axis from bin number 1 to 100. I find the mean (weighted) of the histogram using mean = histo->GetMean(). Now I want my x-axis as (original_x_axis/mean). This obviously leaves y-axis but rescales the x-axis having now 100 bins perhaps in 1 to 10 range rather than in 1-100 range.
I tried to find if I could put histogram into ntuple with two columns, then divided the x column by the mean and redraw the histogram. But I could not find any such thing.
Thanks,
Aamer
Received on Fri Sep 09 2011 - 00:46:25 CEST
This archive was generated by hypermail 2.2.0 : Fri Sep 09 2011 - 11:50:01 CEST