Re: [ROOT] graph scaling

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Oct 01 2001 - 11:46:37 MEST


Hi Blaise,

Use the class TMultiGraph.

see: http://root.cern.ch/root/htmldoc/TMultiGraph.html

Rene Brun

COLLIN Blaise wrote:
> 
> Hi all !
> 
> I cannot find the "autoscale" option to draw 2 graphs with different
> ranges on the same pad, i.e if I draw a first graph whose y-axis-range is
> for instance 1 to 2, and then a second graph with range 1.5 to 3, I get a
> plot of my 2 graphs ranging from 1 to 2 (and then missing some of my
> data. How can I re-scale my plot when I add more graphs ? Is it possible
> to get a plot ranging from 0 to 3 if I have a graph ranging 0-2 and
> another graph ranging 1-3 (i.e the minimum and maximum of the plot belong
> to different graphs) ?
> Thanks for advising !
> Regards,
> 
> Blaise Collin
> IPNO-France



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:01 MET