[ROOT] Trouble with GetUymax()

From: Takefumi SORA (tak-sora@bg7.so-net.ne.jp)
Date: Thu Sep 05 2002 - 12:39:41 MEST


Hi, Rooters

I have the trouble with GetUymax().
After drawing histgram, we can usually get maximum value
on the y-axis with the command "gPad->GetUymax()"

Accutually I can get maximum value on the y-axis
in interactive mode.
root[1] gPad->GetUymax()
The value is the same as one inspected in c1 window.

But when I wrote "gPad->GetUymax()" in my program,
I got "1" every time.

This result from the difference between interactive mode
and macro mode

I do not know what to do to get right maximum value in macro mode.
-- 
Takefumi SORA <tak-sora@bg7.so-net.ne.jp>



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:07 MET