Balint Radics wrote:
> Hi,
>
> I use Root 4.04/02b.
>
> I have a variable size binned TH1D histo. I want to get the list of low
> edges of the bins in an array. Of course it is trivial with the
> GetBinLowEdge(Int_t bin) function but why isn't an Axis_t* GetBins()
> implemented if there is already a SetBins(Int_t nx, const Axis_t* xBins)
> function?
>
> If there is a function
I don't know if I've understood correctly but I think you need
histo->GetXaxis()->GetXbins()
you'll get a TArrayD object
Regards, Germano
Phone : 06 7259 4824 Room : c0 28b ------------------------------------------------------------Received on Mon Sep 05 2005 - 19:31:10 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:12 MET