I am plotting a sinus function using a pgfplot and would like that the tick of the x axis was labeled using multiplers of pi (pi/4, pi/2, 2*pi...), for they are the "important" x values to visualize when studying the sinus function.
\documentclass{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.14}
\begin{document}
\begin{tikzpicture}
\begin{axis}[domain=0:2*pi, ymax=1.2, samples=100, grid=major,
xlabel=$\alpha$, ylabel=$sin(\alpha)$,
xtick = {0,1,...,6}, ytick = {-1,-0.5,...,1}] %I assume this the part that I need to change?
\addplot [blue](\x, {sin(\x r)});
\end{axis}
\end{tikzpicture}
\end{document}
I've tried giving regular values of pi in the braces near the % in the code above, but neither using "pi" nor "\pi" has proven useful. Am I missing something? The plot looks like this using the code above:


