ROOT
v6-28
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 a suite of consecutive data records (TKey instances) with a well defined format.
Definition
TFile.h:51
TPaveText
A Pave (see TPave) with text, lines or/and boxes inside.
Definition
TPaveText.h:21
tutorials
pyroot
fit1_py.py
ROOT v6-28 - Reference Guide Generated on Thu Oct 24 2024 01:50:04 (GVA Time) using Doxygen 1.9.8