Re: [ROOT] autoscaling Y axis of an histogram

From: suaide@dfn.if.usp.br
Date: Sun Jun 27 2004 - 02:37:46 MEST


Yes the autoscaling is indeed true but I would like
to set the Y scale with limits corresponding to the
minimum and maximum bin content of that region. 
The histogram autoscales but it usually takes the
lower limit for the y axis as zero. This is what I
want to avoid.

Regards

Alex

On Sat, 26 Jun 2004, Rene Brun wrote:

> I am not sure to understand your request.
> This should be the default behaviour .
> 
> Rene Brun
> 
> On Sat, 26 Jun 2004 
> suaide@if.usp.br wrote:
> 
> > Hello all
> > 
> > Is it possible to define some property in the
> > histogram, or axis, or somewhere else that
> > enables a kind of autoscaling? I mean, for
> > instance, I have one histogram that the X
> > axis goes from 0 to 10 and, when I zoom
> > it with the mouse from 3.5 to 5.6 it picks
> > the minimum and maximum value in that
> > range for the Y axis and change the limits
> > in the Y axis scale to expand the histogram
> > in that region. Is it possible?
> > 
> > Regards
> > 
> > Alex Suaide
> > 
> 
> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET