This tutorial illustrates the special contour options.
More...
Go to the source code of this file.
This tutorial illustrates the special contour options.
- "AITOFF" : Draw a contour via an AITOFF projection
- "MERCATOR" : Draw a contour via an Mercator projection
- "SINUSOIDAL" : Draw a contour via an Sinusoidal projection
- "PARABOLIC" : Draw a contour via an Parabolic projection
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);
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");
}
- Author
- Olivier Couet (from an original macro sent by Ernst-Jan Buis)
Definition in file earth.C.