TH2F *ha =
new TH2F(
"ha",
"Aitoff", 180, -180, 180, 179, -89.5, 89.5);
TH2F *hm =
new TH2F(
"hm",
"Mercator", 180, -180, 180, 161, -80.5, 80.5);
TH2F *hs =
new TH2F(
"hs",
"Sinusoidal",180, -180, 180, 181, -90.5, 90.5);
TH2F *hp =
new TH2F(
"hp",
"Parabolic", 180, -180, 180, 181, -90.5, 90.5);
TH2F *hw =
new TH2F(
"hw",
"Mollweide", 180, -180, 180, 181, -90.5, 90.5);
dat.
Append(
"/graphics/earth.dat");
ifstream in;
while (1) {
if (!in.good()) break;
}
in.close();
c1->cd(1); ha->
Draw(
"aitoff");
c1->cd(2); hm->
Draw(
"mercator");
c1->cd(3); hs->
Draw(
"sinusoidal");
c1->cd(4); hp->
Draw(
"parabolic");
c1->cd(5); hw->
Draw(
"mollweide");
}
R__EXTERN TStyle * gStyle
void Draw(Option_t *option="") override
Draw this histogram with options.
2-D histogram with a float per channel (see TH1 documentation)
Int_t Fill(Double_t) override
Invalid Fill method.
const char * Data() const
TString & ReplaceAll(const TString &s1, const TString &s2)
TString & Append(const char *cs)
void SetOptTitle(Int_t tit=1)
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...