summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgfplots/test/pgfplotstest/pgfplotstest.expr.tex
blob: 5cfc199290559b5bcd92e4e6ae9e8cdd04594a52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\testfile{pgfplotstest.expr.tex}
\testsection{`plot expression' test}
\testsubsection{sin(x)}
\begin{tikzpicture}
\begin{axis}
\addplot (\x,{sin(\x r)});
\end{axis}
\end{tikzpicture}

\testsubsection{$x^2$}
\begin{tikzpicture}
\begin{axis}
\addplot plot[domain=0:10] (\x,\x^2);
\end{axis}
\end{tikzpicture}