23from ROOT 
import TCanvas, TF1, gSystem, gPad, TLegend, TPaveLabel, kBlack
 
   28DistCanvas = 
TCanvas(
"DistCanvas", 
"Bessel functions example", 10, 10, 800, 600)
 
   34leg = 
TLegend(0.75, 0.7, 0.89, 0.89)
 
   42    jbessel = 
TF1(
"J_0", 
"ROOT::Math::cyl_bessel_j([0],x)", 0, 10)
 
   51xaxis = JBessel[0].GetXaxis()
 
   57p1 = 
TPaveLabel(.0, .90, .0 + .50, .90 + .10, 
"Bessel J functions", 
"NDC")
 
   76leg2 = 
TLegend(0.75, 0.7, 0.89, 0.89)
 
   81    kbessel = 
TF1(
"J_0", 
"ROOT::Math::cyl_bessel_k([0],x)", 0, 10)
 
   88kxaxis = KBessel[0].GetXaxis()
 
   94p2 = 
TPaveLabel(.0, .90, .0 + .50, .90 + .10, 
"Bessel K functions", 
"NDC")
 
  112leg3 = 
TLegend(0.75, 0.7, 0.89, 0.89)
 
  117    ibessel = 
TF1(
"J_0", 
"ROOT::Math::cyl_bessel_i([0],x)", 0, 10)
 
  125iaxis = iBessel[0].GetXaxis()
 
  131p3 = 
TPaveLabel(.0, .90, .0 + .50, .90 + .10, 
"Bessel I functions", 
"NDC")
 
  149leg4 = 
TLegend(0.75, 0.7, 0.89, 0.89)
 
  154    jbessel = 
TF1(
"J_0", 
"ROOT::Math::sph_bessel([0],x)", 0, 10)
 
  161jaxis = jBessel[0].GetXaxis()
 
  167p4 = 
TPaveLabel(.0, .90, .0 + .50, .90 + .10, 
"Bessel j functions", 
"NDC")
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
This class displays a legend box (TPaveText) containing several legend entries.
 
A Pave (see TPave) with a text centered in the Pave.