Re: finding the right axes for several graphs

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Apr 22 1999 - 16:42:52 MEST


Ulrich Jost wrote:
> 
> Hi,
> 
> I'd like to plot several, beforehand unknown graphs in the same plot.  Is
> there an easy way to find the right minima and maxima of the plot each
> time a new graph is added, so that all graphs fit in the plot? Or do I
> have to find them 'by hand'?
> 
> Thanks, Ulrich

Hi Ulrich,
Currently you have to loop yourself on your list of TGraph objects,
computing the min/max.
I agree that it would be nice to have a TGraphList class (just a TList
of TGraph,TGraphErrors, etc) and do list->Draw().
One could also have a TH1List doing the same.
May be there are better ideas around?

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:32 MET