Re: Finding minimum of an axis

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Mon, 12 Nov 2007 01:33:20 +0100


For the axis having the bin counts, use TH1::GetMinimum

Rene Brun

James Jackson wrote:
> Hi,
>
> If I have a histogram (TH1F), how can I find out the minimum value of
> the plotted Y axis? For the X axis, the following works:
>
> myHist->GetXaxis()->GetXmin()
>
> however I can find no analog for the Y axis (i.e. GetYmin()), and also
> find it strange that concepts such as 'X' are implicit in the
> implementation of TAxis!
>
> Any suggestions welcome...
>
> Regards,
> James Jackson.
>
Received on Mon Nov 12 2007 - 01:33:46 CET

This archive was generated by hypermail 2.2.0 : Mon Nov 12 2007 - 05:50:02 CET