TF1 *
pdfunc  = 
new TF1(
"pdf",
"ROOT::Math::normal_pdf(x, [0],[1])",-5,5);
 
   TF1 *
cdfunc  = 
new TF1(
"cdf",
"ROOT::Math::normal_cdf(x, [0],[1])",-5,5);
 
   TF1 *
ccdfunc = 
new TF1(
"cdf_c",
"ROOT::Math::normal_cdf_c(x, [0])",-5,5);
 
   TF1 *
qfunc   = 
new TF1(
"quantile",
"ROOT::Math::normal_quantile(x, [0])",0,1);
 
   TF1 *
cqfunc  = 
new TF1(
"quantile_c",
"ROOT::Math::normal_quantile_c(x, [0])",0,1);
 
 
   pdfunc->SetParameters(1.0,0.0);  
 
 
   pdfunc->GetXaxis()->SetLabelSize(0.06);
 
   pdfunc->GetXaxis()->SetTitle(
"x");
 
   pdfunc->GetXaxis()->SetTitleSize(0.07);
 
   pdfunc->GetXaxis()->SetTitleOffset(0.55);
 
   pdfunc->GetYaxis()->SetLabelSize(0.06);
 
 
   cdfunc->SetParameters(1.0,0.0);  
 
 
   cdfunc->GetXaxis()->SetLabelSize(0.06);
 
   cdfunc->GetXaxis()->SetTitle(
"x");
 
   cdfunc->GetXaxis()->SetTitleSize(0.07);
 
   cdfunc->GetXaxis()->SetTitleOffset(0.55);
 
 
   cdfunc->GetYaxis()->SetLabelSize(0.06);
 
   cdfunc->GetYaxis()->SetTitle(
"p");
 
   cdfunc->GetYaxis()->SetTitleSize(0.07);
 
   cdfunc->GetYaxis()->SetTitleOffset(0.55);
 
 
 
   qfunc->SetParameter(0, 1.0);  
 
 
   qfunc->GetXaxis()->SetLabelSize(0.06);
 
   qfunc->GetXaxis()->SetTitle(
"p");
 
   qfunc->GetYaxis()->SetLabelSize(0.06);
 
   qfunc->GetXaxis()->SetTitleSize(0.07);
 
   qfunc->GetXaxis()->SetTitleOffset(0.55);
 
   qfunc->GetYaxis()->SetTitle(
"x");
 
   qfunc->GetYaxis()->SetTitleSize(0.07);
 
   qfunc->GetYaxis()->SetTitleOffset(0.55);
 
 
 
 
 
 
 
}
This class displays a legend box (TPaveText) containing several legend entries.