Revision 8096b12443b4f5e1d7eedab9aede1fcb47a8f17a authored by Unknown Author on 21 May 2001, 14:27:58 UTC, committed by Unknown Author on 21 May 2001, 14:27:58 UTC
git-svn-id: http://root.cern.ch/svn/root/tags/v3-01-03@2263 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 4edc4f3
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