Re: [ROOT] Associating TGaxis with coordinate system

From: Rene Brun (brun@pcbrun.cern.ch)
Date: Fri Nov 12 2004 - 22:28:00 MET


Roland,

Have a look at tutorials
labels1.C
labels2.C
hlabels1.C
hlabels2.C
cernstaff.C

Rene Brun

On Fri, 12 Nov 2004, Roland Kuhn wrote:

> Hi!
> 
> I'm trying to paint a graph with no X axis and TLatex labels instead, 
> but I don't find a way to associate the manually drawn TGaxis with the 
> pad coordinate system to allow zooming along that axis. I've seen this 
> working, but I cannot remember what I changed to break it :-( Right now 
> I'm putting the labels into the TCanvas, create a TPad inside (the 
> upper 80% of the canvas), draw the graph without axis in there and then 
> create a TGaxis.
> 
> Thanks for your help,
> 					Roland
> 
> --
> TU Muenchen, Physik-Department E18, James-Franck-Str. 85747 Garching
> Telefon 089/289-12592; Telefax 089/289-12570
> --
> A mouse is a device used to point at
> the xterm you want to type in.
> Kim Alm on a.s.r.
> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET