Hi Mariusz,
Do you have data in the range 7->30 ?
Could you send a short script including your histogram file
that I can use to reproduce the problem?
When sending mails to roottalk, please specify a subject. Mails with no-subject
are in principle deleted by the system as it makes the life hard to people
using the roottalk digest.
see : http://root.cern.ch/root/roottalk/RoottalkRules.html
Rene Brun
Mariusz Sapinski wrote:
>
> Hello rooters,
>
> i got a histogram:
> TH2F *LShape06
> = new TH2F("LShape06","LShape06",100, -1.,20., 100, 0, 30);
>
> I want to fit a profile of it, so i do:
>
> TF1 *f1 = new TF1("f1","[0]+[1]/x+[2]/(x^2)",0,20);
> TProfile *LShp06 = LShape06->ProfileX("",-1,20);
> LShp06->Fit(f1,"IM","",0.2,10);
>
> It works great except that the y-axis of the profile ends at 7,
> while the y-axis of the original profile goes to 30.... Anybody has any
> idea what to do?
>
> Best regards,
>
> Mariusz
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET