blob: d82eafd280d540c285854be0c8254fbbad8772ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
\testfile{pgfplotstest.function.tex}
\testsection{`plot function' test}
\testsubsection{sin(x)}
\begin{tikzpicture}
\begin{axis}
\addplot plot[id=gnuplot_sin,samples=50] function{sin(x)};
\end{axis}
\end{tikzpicture}
\testsubsection{exp(x)}
\testsubsubsection{linear}
\begin{tikzpicture}
\begin{axis}
\addplot plot[id=gnuplot_exp,samples=50,domain=-5:15] function{exp(x)};
\end{axis}
\end{tikzpicture}
\testsubsubsection{semilogy}
\begin{tikzpicture}
\begin{semilogyaxis}
\addplot plot[id=gnuplot_exp,samples=50,domain=-5:15] function{exp(x)};
\end{semilogyaxis}
\end{tikzpicture}
|