I have a histogram and 2 functions (one is the fitted function and one describes the background).
I want to transpose them horizontally by 100 bins and then draw them.
There are 2 ways to transpose the histogram, but not the function:
I can move the x-axis along using TAxis::Set(). The histogram stays where it is (which I want), but the function moves with the axis (which I don’t want).
Or I can copy the histogram into a new histogram, changing the bin numbers by 100. I can’t find any way to do this for the function. The function cannot be described analytically so I can’t transpose it myself that way.
Is there a way of transposing the function horizontally?
I’m using version 5.14/00e