From $ROOTSYS/tutorials/graphs/exclusiongraph.C

TCanvas *exclusiongraph() {
   // Draw three graphs with an exclusion zone.
   //Author: Olivier Couet
   
   TCanvas *c1 = new TCanvas("c1","Exclusion graphs examples",200,10,600,400);
   c1->SetGrid();

   TMultiGraph *mg = new TMultiGraph();
   mg->SetTitle("Exclusion graphs");

   const Int_t n = 35;
   Double_t x1[n], x2[n], x3[n], y1[n], y2[n], y3[n];
   for (Int_t i=0;i<n;i++) {
     x1[i]  = i*0.1;
     x2[i]  = x1[i];
     x3[i]  = x1[i]+.5;
     y1[i] = 10*sin(x1[i]);
     y2[i] = 10*cos(x1[i]);
     y3[i] = 10*sin(x1[i])-2;
   }

   TGraph *gr1 = new TGraph(n,x1,y1);
   gr1->SetLineColor(2);
   gr1->SetLineWidth(1504);
   gr1->SetFillStyle(3005);

   TGraph *gr2 = new TGraph(n,x2,y2);
   gr2->SetLineColor(4);
   gr2->SetLineWidth(-2002);
   gr2->SetFillStyle(3004);
   gr2->SetFillColor(9);

   TGraph *gr3 = new TGraph(n,x3,y3);
   gr3->SetLineColor(5);
   gr3->SetLineWidth(-802);
   gr3->SetFillStyle(3002);
   gr3->SetFillColor(2);

   mg->Add(gr1);
   mg->Add(gr2);
   mg->Add(gr3);
   mg->Draw("AC");

   return c1;
}
 exclusiongraph.C:1
 exclusiongraph.C:2
 exclusiongraph.C:3
 exclusiongraph.C:4
 exclusiongraph.C:5
 exclusiongraph.C:6
 exclusiongraph.C:7
 exclusiongraph.C:8
 exclusiongraph.C:9
 exclusiongraph.C:10
 exclusiongraph.C:11
 exclusiongraph.C:12
 exclusiongraph.C:13
 exclusiongraph.C:14
 exclusiongraph.C:15
 exclusiongraph.C:16
 exclusiongraph.C:17
 exclusiongraph.C:18
 exclusiongraph.C:19
 exclusiongraph.C:20
 exclusiongraph.C:21
 exclusiongraph.C:22
 exclusiongraph.C:23
 exclusiongraph.C:24
 exclusiongraph.C:25
 exclusiongraph.C:26
 exclusiongraph.C:27
 exclusiongraph.C:28
 exclusiongraph.C:29
 exclusiongraph.C:30
 exclusiongraph.C:31
 exclusiongraph.C:32
 exclusiongraph.C:33
 exclusiongraph.C:34
 exclusiongraph.C:35
 exclusiongraph.C:36
 exclusiongraph.C:37
 exclusiongraph.C:38
 exclusiongraph.C:39
 exclusiongraph.C:40
 exclusiongraph.C:41
 exclusiongraph.C:42
 exclusiongraph.C:43
 exclusiongraph.C:44
 exclusiongraph.C:45
 exclusiongraph.C:46