summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-16-2-0.tex
blob: d3f8c5154870e22c19293c5900e6e08acba20c28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 75 (Section 16.2 : \tkzname{fp.sty})

\begin{tikzpicture}
 \tkzInit[xmin=-0.2,xmax=0.2,xstep=.1,
          ymin=-12,ymax=6,ystep=2]
 \tkzGrid
 \tkzAxeXY
 \tkzFct[domain = -.1:.2]%
 {-5+x*(0.5+4*x*(x*(-2+x*1)))}
\end{tikzpicture}

\end{document}