Hello Rooters,
I am trying to draw a skymap, which is easily done with the aitoff projection. Unfortunately, there are not built in gridlines that are also drawn, which makes the map hard to read. Fortunately, berder posted a nice example that draws the grid lines using TGraphs. The problem I have is that when I draw my histogram using the aitoff projection, the TGraphs don’t also get drawn in the same pad. If I draw my histogram any other way, they do. I have tried it with both version 5.12_f and development, neither work. I’ve attached my code (SkymapProb.C) as well as the root file from which the data comes (SkymapProb.root). Thanks a lot for any help you can offer!
-eric
SkymapProb.C (2.55 KB)
SkymapProb.root (233 KB)