Re: [ROOT] Secondary X-axis in TGraph from an array

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jul 24 2003 - 08:25:23 MEST


Hi,

You can superimpose one or more axis via TGaxis. See examples
in tutorial $ROOTSYS/tutorials/twoscales.C

See examples of TGaxis in tutorial gaxis.C

Rene Brun

On Wed, 23 
Jul 2003, Örjan Nordhage wrote:

> Hello,
> 
> I'm plotting the arrays y and x1 in TGraph. However, y also depends on 
> the array x2 which I would like to show as a secondary X-axis. How do I 
> add that array into an axis in the same graph? (ROOT version: 3.03/07)
> 
> Best regards,
> 
> /Örjan Nordhage
> 



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