[ROOT] Redimensioning

From: Alberto Garcia Raboso (Alberto.Garcia.Raboso@cern.ch)
Date: Thu Aug 01 2002 - 13:35:39 MEST


Hi ROOTers,

I have some profiles, already drawn, that I have to fit (so I do it).
Everything's OK up to this point, but, when I try to draw the fit
function, everything's KO. Although I use the "same" option, it seems
that ROOT goes crazy, maybe because the fit function has asymptotes, and
thus changes the scale in the y axis.

I think I've tried almost everything, but I can't get to redimension it
to the desired range from the command line. So, I've had to implement a
loop to modify the range in which the function is drawn to manually
specify it until it is OK. More or less, the problem is solved, but this
forces me to stand in front of the screen during the running (a not very
interesting activity).

So, does anybody have an idea about how to arrange it so I could go to
have a coffee? Thanks in advance.

Cheers,

Alberto

P.S.: By the way, when I save the canvas as a ".root" file and try to
open it later, I get a difference. Have a look on the files "before.gif"
and "after.gif" at /afs/cern.ch/user/g/graboso/public/. The fitting
range is [-300, 300].



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