Revision 8ab25493f0a074bb85b050389cb146b7ce527ff0 authored by Fons Rademakers on 29 September 2006, 08:18:19 UTC, committed by Fons Rademakers on 29 September 2006, 08:18:19 UTC

git-svn-id: http://root.cern.ch/svn/root/trunk@16380 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent f029540
Raw File
fit1_C.C

   gROOT->Reset();
   c1 = new TCanvas("c1","The Fit Canvas");
   c1->SetGridx();
   c1->SetGridy();
   TFile fill("fillrandom.root");
   fill.ls();
   sqroot->Print();

   h1f->Fit("sqroot");

   fitlabel = new TPaveText(0.6,0.3,0.9,0.80,"NDC");
   fitlabel->SetTextAlign(12);
   fitlabel->SetFillColor(25);
   fitlabel->ReadFile("fit1_C.C");
   fitlabel->Draw();

back to top