Logo ROOT  
Reference Guide
hist039_TH2Poly_usa Namespace Reference

Variables

 f = ROOT.TFile.Open(fileUrl)
str fileUrl = "http://root.cern/files/usa.root"
int lat1 = 24
int lat2 = 50
int lon1 = -130
int lon2 = -65
 mg = ROOT.TMultiGraph
 obj = key.ReadObj()
 p = ROOT.TH2Poly("Lower48", "Lower 48 Population (2009);Latitude;Longitude", lon1, lon2, lat1, lat2)
list pops
 pupulationRef = ROOT.TLatex(-128, 27, "#scale[.55]{#splitline{Source:}{http://eadiv.state.wy.us/pop/st-09est.htm}}")
list states
 usa = ROOT.TCanvas("USA", "USA")

Variable Documentation

◆ f

hist039_TH2Poly_usa.f = ROOT.TFile.Open(fileUrl)

Definition at line 44 of file hist039_TH2Poly_usa.py.

◆ fileUrl

str hist039_TH2Poly_usa.fileUrl = "http://root.cern/files/usa.root"

Definition at line 43 of file hist039_TH2Poly_usa.py.

◆ lat1

int hist039_TH2Poly_usa.lat1 = 24

Definition at line 39 of file hist039_TH2Poly_usa.py.

◆ lat2

int hist039_TH2Poly_usa.lat2 = 50

Definition at line 40 of file hist039_TH2Poly_usa.py.

◆ lon1

int hist039_TH2Poly_usa.lon1 = -130

Definition at line 37 of file hist039_TH2Poly_usa.py.

◆ lon2

int hist039_TH2Poly_usa.lon2 = -65

Definition at line 38 of file hist039_TH2Poly_usa.py.

◆ mg

hist039_TH2Poly_usa.mg = ROOT.TMultiGraph

Definition at line 47 of file hist039_TH2Poly_usa.py.

◆ obj

hist039_TH2Poly_usa.obj = key.ReadObj()

Definition at line 49 of file hist039_TH2Poly_usa.py.

◆ p

hist039_TH2Poly_usa.p = ROOT.TH2Poly("Lower48", "Lower 48 Population (2009);Latitude;Longitude", lon1, lon2, lat1, lat2)

Definition at line 41 of file hist039_TH2Poly_usa.py.

◆ pops

list hist039_TH2Poly_usa.pops
Initial value:
1= [4708708, 6595778, 2889450, 36961664, 5024748, 3518288, 885122, 18537969, 9829211, 1545801,
2 12910409, 6423113, 3007856, 2818747, 4314113, 4492076, 1318301, 5699478, 6593587, 9969727,
3 5266214, 2951996, 5987580, 974989, 1796619, 2643085, 1324575, 8707739, 2009671, 19541453,
4 9380884, 646844, 11542645, 3687050, 3825657, 12604767, 1053209, 4561242, 812383, 6296254,
5 24782302, 2784572, 621760, 7882590, 6664195, 1819777, 5654774, 544270]

Definition at line 29 of file hist039_TH2Poly_usa.py.

◆ pupulationRef

hist039_TH2Poly_usa.pupulationRef = ROOT.TLatex(-128, 27, "#scale[.55]{#splitline{Source:}{http://eadiv.state.wy.us/pop/st-09est.htm}}")

Definition at line 61 of file hist039_TH2Poly_usa.py.

◆ states

list hist039_TH2Poly_usa.states
Initial value:
1= ["alabama", "arizona", "arkansas", "california", "colorado", "connecticut", "delaware",
2 "florida", "georgia", "idaho", "illinois", "indiana", "iowa", "kansas",
3 "kentucky", "louisiana", "maine", "maryland", "massachusetts", "michigan", "minnesota",
4 "mississippi", "missouri", "montana", "nebraska", "nevada", "new_hampshire", "new_jersey",
5 "new_mexico", "new_york", "north_carolina", "north_dakota", "ohio", "oklahoma", "oregon",
6 "pennsylvania", "rhode_island", "south_carolina", "south_dakota", "tennessee", "texas", "utah",
7 "vermont", "virginia", "washington", "west_virginia", "wisconsin", "wyoming"]

Definition at line 21 of file hist039_TH2Poly_usa.py.

◆ usa

hist039_TH2Poly_usa.usa = ROOT.TCanvas("USA", "USA")

Definition at line 35 of file hist039_TH2Poly_usa.py.