I have arrays of histograms that I fill in a for loop;
and it’s all ok. When I try to fit the data points that I wrote, with;
It looks ok but the range of the histogram automatically reduces to -1,1 in the x axis.
I tried defining a “new TF1” and then “->SetParameters” but result stayed the same.
I was wondering if I can change the x-axis interval after fitting with that one-liner.