I am using the polar library with pgfplots to plot a graph like this:
\begin{tikzpicture}
\begin{polaraxis}
\addplot[mark = none, domain = 0.4:12, samples = 600, data cs = polarrad]{sin(x)};
\end{polaraxis}
\end{tikzpicture}
As described in the manual, this uses radians for the function, but the axis labels are still plotted in degrees. Instead of having the 0, 30, …, 330 tick labels, I would like 0π, π/6, … 11π/6 labels. I am convinced the solution must be quite simple, but I have not been able to find it yet.


xticklabel={$\pgfmathparse{\tick/180}\pgfmathprintnumber[frac,frac denom=6,frac whole=false]{\pgfmathresult}\pi$}option be sufficient for your needs? – percusse Mar 03 '13 at 13:23\pgfplots@show@ticklabel@@polarhas some effect but I guess that isn't the official interface? – David Carlisle Mar 03 '13 at 13:49\usepgfplotslibrary{polar}, let me cook up a MWE. – percusse Mar 03 '13 at 13:51