Hi,
I would like to put alphanumeric labels in a TGaxis, but I did not succeed. Is there a way to do that ?
Many thanks in advance.
Cheers,
Sergio
Hi,
I would like to put alphanumeric labels in a TGaxis, but I did not succeed. Is there a way to do that ?
Many thanks in advance.
Cheers,
Sergio
TGaxis cannot draw alphanumeric labels when it is used alone. It draws such labels only when it is owned by a TAxis. You will find examples producing axis plots with alpha numeric labels here:
$ROOTSYS/tutorials/graphs/labels1.C
$ROOTSYS/tutorials/graphs/labels2.C
$ROOTSYS/tutorials/hist/hlabels1.C
$ROOTSYS/tutorials/hist/hlabels2.C