Simple graph with legend. 
For more details on TLegend see documentation
  
 
 
   Double_t x[
n] = {-3.00, -2.68, -2.36, -2.05, -1.73};
 
 
 
   gr1->SetTitle(
"Graph with legend");
 
   
   legend->SetHeader(
"Legend title", 
"C"); 
 
 
 
   
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char y2
 
Option_t Option_t TPoint TPoint const char y1
 
A TGraph is an object made of two arrays X and Y with npoints each.
 
This class displays a legend box (TPaveText) containing several legend entries.
 
  - Date
 - 25/11/2024 
 
- Author
 - Emanuele Chiamulera 
 
Definition in file gr111_legend.C.