Logo ROOT   6.08/07
Reference Guide
fit1_py.py
Go to the documentation of this file.
1 
2 c1 = TCanvas( 'c1', 'The Fit Canvas' )
3 c1.SetGridx()
4 c1.SetGridy()
5 
6 fill = TFile( 'fillrandom.root' )
7 fill.ls()
8 sqroot.Print()
9 
10 h1f.Fit( 'sqroot' )
11 
12 fitlabel = TPaveText( 0.6, 0.3, 0.9, 0.80, 'NDC' )
13 fitlabel.SetTextAlign( 12 )
14 fitlabel.SetFillColor( 42 )
15 fitlabel.ReadFile( 'fit1_py.py' )
16 fitlabel.Draw()
17 
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
Definition: TFile.h:50
The Canvas class.
Definition: TCanvas.h:41
A Pave (see TPave) with text, lines or/and boxes inside.
Definition: TPaveText.h:27