Re: setrange of x-axis

From: Mario Kadastik <mario.kadastik_at_cern.ch>
Date: Wed, 20 Jul 2011 14:18:47 +0300


> You can do like
> gr->GetXaxis()->SetLimits(min, max)

Or gr->GetXaxis()->SetRange(min,max)
or gr->GetXaxis()->SetRangeUser(min,max)

just try it out, one of the three should work :)

Mario Kadastik, PhD
Researcher

---
  "Physics is like sex, sure it may have practical reasons, but that's not why we do it" 
     -- Richard P. Feynman
Received on Wed Jul 20 2011 - 13:18:53 CEST

This archive was generated by hypermail 2.2.0 : Wed Jul 20 2011 - 17:50:02 CEST