Re: How to set range of y-axis for THStack?

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Mon, 19 Sep 2011 08:49:26 +0000

>>> 2) The minimum is set to 200 and is plotted as 200. That's a good
>>> sign. Still I would like to use a logarithmic y-axis. If you set
>>> the y-axis to logarithmic, you'll find that also the minimum of the
>>> y-axis no longer agrees with the value specified in SetMinimum().
>>>

>> 
>> Yes that's automatic in log scale in order to be on decades limits.
> 
> OK, I was wondering about the resulting limits which always were close,
> but not exactly the specified value... I guess there's no way to
> override this? I'd like ROOT to use the values I pass to it.

No .. it was chosen to do it that way because of the limited number of tick marks in log scale. That easier to read when the lower and upper limits match a tick mark. Received on Mon Sep 19 2011 - 10:49:30 CEST

This archive was generated by hypermail 2.2.0 : Mon Sep 19 2011 - 11:50:01 CEST