Logo ROOT  
Reference Guide
hist015_TH1_read_and_draw Namespace Reference

Variables

 c1 = TCanvas( 'c1', 'Histogram Drawing Options', 200, 10, 700, 900 )
 example = TFile("py-hsimple.root")
 hpx = gROOT.FindObject( 'hpx' )
 label1 = TPaveLabel( -3.5, 700, -1, 800, 'Default option' )
 label2 = TPaveLabel( -0.72, 0.74, -0.22, 0.88, 'option Lego1' )
 label2a = TPaveLabel( -0.93, -1.08, 0.25, -0.92, 'Click on lego to rotate' )
 label3 = TPaveLabel( 2, 600, 3.5, 650, 'option e1p' )
 pad1 = TPad( 'pad1', 'The pad with the function', 0.03, 0.62, 0.50, 0.92, 21 )
 pad2 = TPad( 'pad2', 'The pad with the histogram', 0.51, 0.62, 0.98, 0.92, 21 )
 pad3 = TPad( 'pad3', 'The pad with the histogram', 0.03, 0.02, 0.97, 0.57, 21 )
 pave = TPaveText( -3.78, 500, -1.2, 750 )
 t1 = pave.AddText( 'You can move' )
 title

Variable Documentation

◆ c1

hist015_TH1_read_and_draw.c1 = TCanvas( 'c1', 'Histogram Drawing Options', 200, 10, 700, 900 )

Definition at line 16 of file hist015_TH1_read_and_draw.py.

◆ example

hist015_TH1_read_and_draw.example = TFile("py-hsimple.root")

Definition at line 28 of file hist015_TH1_read_and_draw.py.

◆ hpx

hist015_TH1_read_and_draw.hpx = gROOT.FindObject( 'hpx' )

Definition at line 41 of file hist015_TH1_read_and_draw.py.

◆ label1

hist015_TH1_read_and_draw.label1 = TPaveLabel( -3.5, 700, -1, 800, 'Default option' )

Definition at line 44 of file hist015_TH1_read_and_draw.py.

◆ label2

hist015_TH1_read_and_draw.label2 = TPaveLabel( -0.72, 0.74, -0.22, 0.88, 'option Lego1' )

Definition at line 52 of file hist015_TH1_read_and_draw.py.

◆ label2a

hist015_TH1_read_and_draw.label2a = TPaveLabel( -0.93, -1.08, 0.25, -0.92, 'Click on lego to rotate' )

Definition at line 55 of file hist015_TH1_read_and_draw.py.

◆ label3

hist015_TH1_read_and_draw.label3 = TPaveLabel( 2, 600, 3.5, 650, 'option e1p' )

Definition at line 66 of file hist015_TH1_read_and_draw.py.

◆ pad1

hist015_TH1_read_and_draw.pad1 = TPad( 'pad1', 'The pad with the function', 0.03, 0.62, 0.50, 0.92, 21 )

Definition at line 18 of file hist015_TH1_read_and_draw.py.

◆ pad2

hist015_TH1_read_and_draw.pad2 = TPad( 'pad2', 'The pad with the histogram', 0.51, 0.62, 0.98, 0.92, 21 )

Definition at line 19 of file hist015_TH1_read_and_draw.py.

◆ pad3

hist015_TH1_read_and_draw.pad3 = TPad( 'pad3', 'The pad with the histogram', 0.03, 0.02, 0.97, 0.57, 21 )

Definition at line 20 of file hist015_TH1_read_and_draw.py.

◆ pave

hist015_TH1_read_and_draw.pave = TPaveText( -3.78, 500, -1.2, 750 )

Definition at line 73 of file hist015_TH1_read_and_draw.py.

◆ t1

hist015_TH1_read_and_draw.t1 = pave.AddText( 'You can move' )

Definition at line 75 of file hist015_TH1_read_and_draw.py.

◆ title

hist015_TH1_read_and_draw.title
Initial value:
1= TPaveLabel( 0.1, 0.94, 0.9, 0.98,
2 'Drawing options for one dimensional histograms' )
A Pave (see TPave) with a text centered in the Pave.
Definition TPaveLabel.h:20

Definition at line 32 of file hist015_TH1_read_and_draw.py.