Re: [ROOT] Q: ntuple/plot .. L equivalent ?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Oct 05 2000 - 15:04:26 MEST


Hi Andre,
The option "L" is not supported, but you can get the same result in a simple
and more powerful way:

h7000->Draw("clmed:mh");
TGraph gr(h7000.GetSelectedRows(),h7000.GetV1(),h7000.GetV2())
gr.Draw("l");


You can now use the TGraph objects with all the options.
See documentation of TTree::Draw for more details.

Rene Brun



Andre Holzner wrote:
> 
> Hello,
> 
> is there an equivalent in root to the paw command:
> 
>   n/pl 7000.clmed%mh ! ! ! ! L
> 
> (i.e. to draw a line through the points of the ntuple ?)
> 
> I tried
> 
>  h7000->Draw("clmed:mh","","L");
> 
> but I got unconnected points....
> 
> best regards,
> 
> Andre
> 
> --
> ------------------+----------------------------------
> Andre Holzner     | +41 22 76 76750
> Bureau 32 2-C13   | Building 32
> CERN              | Office 2-C13
> CH-1211 Geneve 23 | http://wwweth.cern.ch/~holzner/



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