[ROOT] Problem with TH1F vertical scale

From: Irene FIORI (irene.fiori@pi.infn.it)
Date: Tue Oct 01 2002 - 16:58:53 MEST


Dear rooters,
I have encountered the following "unexpected" beaviour 
of a TH1F histogram:
I create a TH1F object and fill it with a set of (x,y) data points, 
the y coordinate being used "as a weight".
I find that, as long as the minimum among the y values is negative, 
the vertical axis range is automatically set centered on the y values

Instead, if the minimum among the y values is positive
(no matter how big it is),
the vertical axis first value is always set to 0. !!

Below I pasted my test program,
just try to switch OffSet between +10. and -10.

Is this the way it is supposed to work?
...or am I missing something ??
How I can have the vertical range centered on y values also in the 
second case??

Thank you,
Irene



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