gPad->GetUxmax() and others issues

From: Marco Calviani <marco.calviani_at_gmail.com>
Date: Thu, 14 Sep 2006 15:33:18 +0200


Hi,
  i would like to plot two histograms on the same gPad with different scales. I'm following the tutorial given here http://root.cern.ch/root/html/examples/twoscales.C.html I have a problem with the definition of the new axis, that is: gPad->GetUxmax() and gPad->GetUymax always gives 1 while gPad->GetUxmin() and gPad->GetUymin() always gives 0, so that i have to manually give the location of the new axis in TGaxis. What could be the problem?

I'm using ROOT version 5.13/03

Thanks,
Marco Received on Thu Sep 14 2006 - 15:33:28 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET