Re: [ROOT] Scale for TMultyGraph

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Apr 14 2003 - 09:31:48 MEST


Kirill,

You can add your TGaxis to teh list of functions of one of your TGraphs
  TGaxis *gaxis =new TGaxis(...);
  pGraph->GetListOfFunctions()->Add(gaxis);

Any object can be added to the list of functions, TText, TLatex, TLine,
TPaveLabel, etc

Rene Brun

Kirill Shileev wrote:
> 
> Hi rooters,
> Is there a simple way to scale one graph in multy graph set?
> It would be nice, if the following would work
> pAxis=TGaxis(...);
> 
> pMultyGraph->Add(pGraph,pAxis);
> 
> Regards, Kirill



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET