Angle markers not showing up on polar graph

I wrote a test code to understand how to create polar graphs. The code I wrote was as follows: (it’s mostly copied from the ROOT Primer)

[code]#include “TMath.h”
#include "TGraphPolar.h"
void macro2(){
auto canv=new TCanvas(“Polar plot”,“Polar plot”,600,600);
Double_t tmin=0.;
Double_t tmax=TMath::Pi()6.;
const Int_t npoints=1000;
Double_t t[npoints];
Double_t r[npoints];
for (Int_t i=0;i<npoints;i++){
t[i]=tmin+i
(tmax-tmin)/npoints;
r[i]=TMath::Sin(t[i]);
}
TGraphPolar grp1(npoints,t,r);
grp1.SetTitle(“A fan”);
grp1.SetLineWidth(3);
grp1.SetLineColor(kRed);
grp1.DrawClone(“Line”);

canv->Print("Polar_Graph.jpg");

}[/code]

The output generated on running the above macro was the following image:
https://drive.google.com/file/d/0B5g9hHTh9BiTLVg3ZUtiY3QzT1U/view?usp=sharing

The angle markers (e.g., 0, pi/2 etc.) are not visible, though they’re shown in the output given in ROOT PRimer. I don’t understand why. Any help would be appreciated.

This tutorials produces markers:
root.cern.ch/doc/master/graphpolar_8C.html