cxwx1
November 3, 2018, 8:27am
1
ROOT Version: 6.14
Platform: ubuntu and macos
Compiler: gcc
I cannot draw TGraph and TH2D togethor with aitoff
I can convert TGraph to aitoff by my self, but I cannot draw it on a same TPad
I want to know how to do it
hist2D->Draw(“z AITOFF”);
graph->Draw(“P same”); //display nothing
by the way, option “colz” is OK.
Axel
November 5, 2018, 9:02am
2
I’m sure @couet will be able to answer this when he’s back from his trip in two weeks!
couet
November 21, 2018, 9:40am
4
TGraph does not support the aitoff coordinates natively.
You will need to convert the graph coordinates into the aitoff ones as in the following example.
aitoff2.C (37.3 KB)