From $ROOTSYS/tutorials/graphs/graphpolar2.C

//Create and draw a polar graph with PI axis
//Author: Olivier Couet
   
void graphpolar2()
{
   TCanvas * CPol = new TCanvas("CPol","TGraphPolar Example",500,500);

   Double_t theta[8];
   Double_t radius[8];
   Double_t etheta[8];
   Double_t eradius[8];

   for (int i=0; i<8; i++) {
      theta[i]   = (i+1)*(TMath::Pi()/4.);
      radius[i]  = (i+1)*0.05;
      etheta[i]  = TMath::Pi()/8.;
      eradius[i] = 0.05;
   }

   TGraphPolar * grP1 = new TGraphPolar(8, theta, radius, etheta, eradius);
   grP1->SetTitle("");

   grP1->SetMarkerStyle(20);
   grP1->SetMarkerSize(2.);
   grP1->SetMarkerColor(4);
   grP1->SetLineColor(2);
   grP1->SetLineWidth(3);
   grP1->Draw("PE");

   CPol->Update();
   grP1->GetPolargram()->SetToRadian();
}
 graphpolar2.C:1
 graphpolar2.C:2
 graphpolar2.C:3
 graphpolar2.C:4
 graphpolar2.C:5
 graphpolar2.C:6
 graphpolar2.C:7
 graphpolar2.C:8
 graphpolar2.C:9
 graphpolar2.C:10
 graphpolar2.C:11
 graphpolar2.C:12
 graphpolar2.C:13
 graphpolar2.C:14
 graphpolar2.C:15
 graphpolar2.C:16
 graphpolar2.C:17
 graphpolar2.C:18
 graphpolar2.C:19
 graphpolar2.C:20
 graphpolar2.C:21
 graphpolar2.C:22
 graphpolar2.C:23
 graphpolar2.C:24
 graphpolar2.C:25
 graphpolar2.C:26
 graphpolar2.C:27
 graphpolar2.C:28
 graphpolar2.C:29
 graphpolar2.C:30
 graphpolar2.C:31
 graphpolar2.C:32
 graphpolar2.C:33