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