Hi - I’m using 4.00/08.
I have a histogram in a file, and I load the file and draw the histogram as such:
myHist->Draw(“AH”)
This is supposed to remove the axis labels and the frame, but it does not appear to do anything.
How do I do this manually?
What if I only want the bottom X axis and none of the other 3 sides to be seen?
Thanks.
-Ed
couet
2
you are right it doesn’t work as described in the help. I’ll check that.
meanwhile you can do:
h->GetXaxis()->SetAxisColor(0);
h->GetXaxis()->SetLabelOffset(999);
h->GetXaxis()->SetTickLength(0);
h->GetYaxis()->SetAxisColor(0);
h->GetYaxis()->SetLabelOffset(999);
h->GetYaxis()->SetTickLength(0);
couet
3
This is now fixed in the CVS head. Thanks to have reported it.