24 TH2F *ha =
new TH2F(
"ha",
"Aitoff", 180, -180, 180, 179, -89.5, 89.5);
25 TH2F *hm =
new TH2F(
"hm",
"Mercator", 180, -180, 180, 161, -80.5, 80.5);
26 TH2F *hs =
new TH2F(
"hs",
"Sinusoidal",180, -180, 180, 181, -90.5, 90.5);
27 TH2F *hp =
new TH2F(
"hp",
"Parabolic", 180, -180, 180, 181, -90.5, 90.5);
30 dat.
Append(
"/graphics/earth.dat");
38 if (!in.good())
break;
46 c1->
cd(1); ha->
Draw(
"aitoff");
47 c1->
cd(2); hm->
Draw(
"mercator");
48 c1->
cd(3); hs->
Draw(
"sinusoidal");
49 c1->
cd(4); hp->
Draw(
"parabolic");
TString & ReplaceAll(const TString &s1, const TString &s2)
R__EXTERN TStyle * gStyle
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
TString & Append(const char *cs)
virtual void Draw(Option_t *option="")
Draw this histogram with options.
2-D histogram with a float per channel (see TH1 documentation)}
virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
Automatic pad generation by division.
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
void SetOptTitle(Int_t tit=1)
Int_t Fill(Double_t)
Invalid Fill method.
THist< 2, float, THistStatContent, THistStatUncertainty > TH2F
const char * Data() const