Range of fit function

Hi All,

I do fit my histogram using ;

and it works as expected but when I try to fit only a specific part of the histogram ;

the range of the histogram changes completely. I would like to shrink the size of the fit to my specified values (minval,maxval) not the histogram. I checked out the docs but couldn’t find a relevant function. Any ideas ?

Cheers

See the “R” option of the TH1::Fit method.