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

From: Alexander Mann <amann_at_uni-goettingen.de>
Date: Mon, 19 Sep 2011 10:46:54 +0200

Hi Olivier,

> In linear mode just do:
>
> gStyle->SetHistTopMargin(0.);

Thanks, that works.

>> 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.

cu
Alexander Received on Mon Sep 19 2011 - 10:46:59 CEST

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