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

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Mon, 19 Sep 2011 09:27:21 +0000


Ok that's index something specify to the stack. When I do the following I do not see the same effect. I will check:

root [0] gStyle->SetHistTopMargin(0.);
root [1] hpx->Draw()
root [2] hpx->SetMinimum(100)
root [3] hpx->SetMaximum(600)
root [4] hpx->Draw()
root [5] hpx->GetYaxis()->SetMoreLogLabels();

But You can bypass it ...
The attached macro gives you an other way to do want you are looking for.

Received on Mon Sep 19 2011 - 11:27:29 CEST

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