Hi all,
Is there a way to put symbols as bin labels in the axis of an histogram ?
Many thanks !
Cheers,
Sergio
Hi all,
Is there a way to put symbols as bin labels in the axis of an histogram ?
Many thanks !
Cheers,
Sergio
See the macros $ROOTSYS/tutorials/label.C
Hi again,
many thanks for the info! I’d already taken a look but did not manage to do what I need.
Instead of alphanumeric labels, I wanted to put in each bin label a TLatex symbol, as for example
greek leters.
I am not sure if this can be done with the SetBinLabel method. Maybe I could try to create an empty axis and then position several TLatex objects including the symbols at the corresponding bin label positions, but I would be grateful if there is a simpler way to do it.
Thanks again.
Cheers,
Sergio
Labels are drawn with TLatex. Just put the TLatex string you want as label and you will get it.