Re: [ROOT] Putting in lines for cuts 'n' stuff

From: Damir Buskulic (buskulic@lapp.in2p3.fr)
Date: Tue May 23 2000 - 18:01:36 MEST


Claire Gwenlan wrote:
> 
> Hi Everybody,
> 
> I just want to put a simple vertical line on my graph to represent various
> cuts. Is there an easy way to do this?
> 

The pads coordinate system is the one of your plot. A TLine should do
the trick

l = new TLine(cutposition,ymin,cutposition,ymax);
l.Draw()

Damir
-- 
=====================================================================
| Damir Buskulic                  | Universite de Savoie/LAPP       |
|                                 | Chemin de Bellevue, B.P. 110    |
| Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
| e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
=====================================================================
mailto:buskulic@lapp.in2p3.fr



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:25 MET