Hi, Why doesn't TAxis::GetBinLabel(Int_t bin) work ? How can we access the labels of an axis ? Example : { TH1F *h=new TH1F("h","My histo",100,0,1); h->FillRandom("gaus",10000); h->Draw(); TString label=h->GetXaxis()->GetBinLabel(100); cout<<label.Data()<<endl; } ROOT Version 3.10/02 Thanks ! Carlos
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET