Re: [ROOT] problem with SetLimits

From: Jiri Masik (masik@fzu.cz)
Date: Fri Apr 09 2004 - 11:10:50 MEST


Marc Escalier <escalier@lpnhep.in2p3.fr> writes:

> Hello, i have a problem with SetLimits():
> it works with x axis, but not with y axis. how to do ?
>
> multigraph->GetXaxis()->SetLimits(60.,5000.);
> --> works
> multigraph->GetYaxis()->SetLimits(1.,1000.);
> -->doesn't do anything

Hi Marc,

use multigraph->SetMaximum(1000.); multigraph->SetMinimum(1.);
cheers

Jiri



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