How to display this histogram?

Hello Root users.
I would like to show only real pdg code on x-axis instead of default label. Any idea ?


Thanks,

you want to have specific labels for the last filled bins ? I think you should make some TText

Not only the last filled bins but all bins with non zero count.


there no automatic way to do it . But a simple loop on bins drawing a TText for each non empty bin will do it.