4 auto c =
new TCanvas(
"myCanvas",
"myCanvas",600,600);
7 const int npoints = 1000;
10 for (
int ipt = 0; ipt < npoints; ipt++) {
11 theta[ipt] = ipt*(rmax-rmin)/npoints+rmin;
15 grP1->SetTitle(
"A Fan");
16 grP1->SetLineWidth(3);
17 grP1->SetLineColor(2);
20 grP1->GetPolargram()->SetToRadian();