TH2Poly::Draw("text") vs TH2Poly::Draw()

Dear all,
I have an issue with the TH2Poly draw routine.

If I Draw(“text”) vs Draw()
I get

I am not sure why i don’t see ANY points in the 3rd bin with plain Draw() while the TEXT option tells me i have entries.

_ROOT Version: 6.16.0
_Platform: MacOS

Draw without option makes a scatter plot. Some random points are drawn in each cell. The number of points in each cell is proportional to the bin contain (0 point for the minimum and the largest number for the maximum). For TH2Poly it is not a very accurate option as the cells’ surfaces can be very different. I would recommend you use for instance the COL option instead.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.