(no subject)

From: Mariusz Sapinski (Mariusz.Sapinski@gamum2.in2p3.fr)
Date: Wed Jun 18 2003 - 12:16:47 MEST


 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