Re: [ROOT] TGraph

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Jun 27 2000 - 16:06:17 MEST


Hi Marek,
I agree that it would be an interesting option to have when drawing TGraph
objects to automatically recompute the pad range when one adds a new TGraph.
On my list of todo things.

Rene Brun

Marek Idzik wrote:
> 
> Hi,
> 
> I'm plotting many curves on the same plot using TGraphErrors.
> I use Draw("ALP") for the first curve and then Draw("LP")
> for the following ones.
> Unfortunately the scale(xmin,xmax,ymin,ymax) is set and fix when plotting
> the first curve(with "ALP" option) and so if the following curves
> have the points(x,y) outside this range there are not in the plot.
> I looked into the TGraph and TGraphErrors options but I didn't find
> any method which updates the scale automathically.
> Is there any simple way to do it ?
> 
>  marek



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:29 MET