ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
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
tutorials
pyroot
fit1_py.py
Generated on Tue May 5 2020 14:03:48 for ROOT by
1.8.5