Hello,
My 2D histogram has text axis labels. I would like to draw the X axis labels above the top X axis. Is there a simple switch to do that? I cannot find it anywhere?
Thanks,
Dano
Hello,
My 2D histogram has text axis labels. I would like to draw the X axis labels above the top X axis. Is there a simple switch to do that? I cannot find it anywhere?
Thanks,
Dano
hpx->GetXaxis()->SetTitleOffset(…);
Look at the TAxis doc:
root.cern.ch/root/html/TAxis.html
Hmm. Is this really the recommended way to do it?
What If I want to have the labels on both top and bottom?
I tried adding TGAxis but then I have problem with ticks. I don’t want them displayed and there’s no SetTickLength() method for TGAxis. Setting ndiv to 0 doesn’t help.
Thanks for your help.
Dano
can you send me a small running macro showing where you are now and I will modify it.
You can also simply draw a TLatex …