ROOT
6.10/00
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
tutorials
pyroot
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
TFile
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
Definition:
TFile.h:46
TCanvas
The Canvas class.
Definition:
TCanvas.h:31
TPaveText
A Pave (see TPave) with text, lines or/and boxes inside.
Definition:
TPaveText.h:21