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

% Ex. No. 15 (Section  5.5 : Placer des points sans se soucier des coordonnées)

\begin{tikzpicture}[scale=1.6]
  \tkzInit[xmin  = 0,  xmax  = 800,
           ymin  = 0,  ymax  = 2000,
           xstep = 100,ystep = 400]
  \tkzGrid
  \tkzAxeXY
  \tkzFct[color  = blue,
          domain = 0:800]%
        {(1./90000)*\x*\x*\x-(1./100)*\x*\x+(113./36)*\x}
  \foreach \va in {0,450,800}{%
     \tkzDefPointByFct[draw](\va)}
\end{tikzpicture}

\end{document}