Logo ROOT   6.07/09
Reference Guide
Functions | Variables
legend2.C File Reference

Functions

leg AddEntry (h,"Histogram \"h\"","l")
 
leg AddEntry ((TObject *) 0,"","")
 
leg AddEntry ((TObject *) 0,"Some text","")
 
leg AddEntry (h,"Histogram \"h\" again","l")
 
leg Draw ()
 

Variables

return c2
 
TH1h = new TH1F("", "", 1, 0, 1)
 
TLegendleg = new TLegend(0.2, 0.2, .8, .8)
 

Function Documentation

leg AddEntry ( h  ,
"Histogram \"h\""  ,
"l"   
)
leg AddEntry ( (TObject *)  0,
""  ,
""   
)
leg AddEntry ( (TObject *)  0,
"Some text ,
""   
)
leg AddEntry ( h  ,
"Histogram \"h\" again"  ,
"l"   
)
leg Draw ( )

Variable Documentation

return c2

Definition at line 14 of file legend2.C.

TH1* h = new TH1F("", "", 1, 0, 1)

Definition at line 5 of file legend2.C.

TLegend* leg = new TLegend(0.2, 0.2, .8, .8)

Definition at line 4 of file legend2.C.