ROOT
master
Reference Guide
Loading...
Searching...
No Matches
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
TCanvas
The Canvas class.
Definition
TCanvas.h:23
TFile
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
Definition
TFile.h:53
TPaveText
A Pave (see TPave) with text, lines or/and boxes inside.
Definition
TPaveText.h:21
tutorials
pyroot
fit1_py.py
ROOT master - Reference Guide Generated on Tue Dec 10 2024 09:34:58 (GVA Time) using Doxygen 1.9.8