epimas
1
How to get position of a bin created by TH2Poly with Honeycomb? Is there any good way?
The usual way to do this does’t work:
double x=h->GetXaxis()->GetBinCenter(ibin);
double y=h->GetYaxis()->GetBinCenter(ibin);
The print of histogram also shows nonsense.
couet
2
double x=h->GetXaxis()->GetBinCenter(ibin);
double y=h->GetYaxis()->GetBinCenter(ibin);
By definition there is no bins along the X and Y axis for a TH2Poly as each bin is defined individually as a polygon.