Revision 5a21da3b72efd44377f9d4b1a214c8186bac5df3 authored by Rene Brun on 05 March 2004, 07:47:40 UTC, committed by Rene Brun on 05 March 2004, 07:47:40 UTC

git-svn-id: http://root.cern.ch/svn/root/trunk@8328 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent ddc68ca
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