13 TCanvas * CPol =
new TCanvas(
"CPol",
"TGraphPolar Example",500,500);
20 for (
int i=0; i<8; i++) {
21 theta[i] = (i+1)*(TMath::Pi()/4.);
22 radius[i] = (i+1)*0.05;
23 etheta[i] = TMath::Pi()/8.;
27 TGraphPolar * grP1 =
new TGraphPolar(8, theta, radius, etheta, eradius);
30 grP1->SetMarkerStyle(20);
31 grP1->SetMarkerSize(2.);
32 grP1->SetMarkerColor(4);
33 grP1->SetLineColor(2);
34 grP1->SetLineWidth(3);
38 grP1->GetPolargram()->SetToRadian();