Re: TAxis strange behaviour

From: Simone Bifani <simone.bifani_at_cern.ch>
Date: Wed, 23 Mar 2011 13:34:54 +0000


  Hi Olivier,

as far as I know (and I actually just tested) GetMaximum returns the maximum bin content and not the maximum of the y-axis

s.

On 23/03/2011 13:30, Olivier Couet wrote:
> For a 1D histogram you should do:
>
> hHisto->GetMaximum()
>
>
>
> On 3/23/11 2:23 PM, "Simone Bifani"<simone.bifani_at_cern.ch> wrote:
>
>> hHisto->GetYaxis()->GetXmax()

Received on Wed Mar 23 2011 - 14:35:00 CET

This archive was generated by hypermail 2.2.0 : Wed Mar 23 2011 - 17:50:01 CET