I would like to change/set the label of a particular histogram bin (say, the first one).
I know about
However, once I perform this function call, all other bin labels disappear. I assume this has to do with the fact that the histogram switches to “alphanumeric mode” (whatever that means in detail).
What I would like to do is the following:
Change a single bin label to some expression (say, “#infty”), but leave alone the rest of the bin labels, that is, having them drawn as-usual without interfering with them in any way.
Is this possible? If so, what do I need to do?
PS: I have also thought about simply adding a TLatex to the canvas - the problem here being that I would then need to propagate this TLatex object through the whole production chain until the very end, when the histogram is drawn - plus, I would need to calculate the coordinates correctly, which I don’t know how to do. I was hoping for a possiblity to save the bin label information within the histogram object in a way that all Style changes are automatically and consistently applied to all bin labels (including my selfmade one).