Finding minimum of an axis

From: James Jackson <James.Jackson_at_cern.ch>
Date: Sun, 11 Nov 2007 20:02:01 +0000


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 Sun Nov 11 2007 - 21:02:39 CET

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