Can a TProfile be convinced to draw only the non-zero entries?
I think draw option “P” should do it (“Draw current marker at each bin except empty bins”), but in the empty bins (= bins containing a zero) it draws a horizontal line at y=0.
This is what I want to get rid of, the horizontal line at 0.
I attached the plot that I’m trying to modify.
The bins where I see a horizontal line have value 0 with error 0, but also 0 entries. Below I obtained the value for x=0.19 (which is in a bin that shows a horizontal line).
I would like not to see anything in this bin, as there were no entries at this x in the TH2F that I used to get the TProfile. And I think you just told me nothing should be drawn in a bin like this. Clearly I see something else…
I’m using root 3.05/04 on RH 7.3. If this turns out to fixed in a more recent version also, I promise I’ll upgrade.