I want to do a simple plot of goniometric functions with pgf in a beamer presentation:
\usepackage{tikz,pgfplots}
% ...
\begin{tikzpicture}
\begin{axis}\addplot[domain=0:pi]{sin(deg(x))}; \end{axis}
\end{tikzpicture}
The domain options seems to be ignored, x axis spans from -6 to +6 regardless of what I specify. I tried to use /pgf/domain instead, with no change. What am I missing?
0topi. Is it possible that you complete your code to a compilable full example? – percusse Nov 7 '11 at 11:11\listfiles) and update. I used version 1.4.1, the most recent one is 1.5. – Stefan Kottwitz♦ Nov 7 '11 at 11:14