summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-05-5-0.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-05-5-0.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-05-5-0.tex19
1 files changed, 19 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-05-5-0.tex b/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-05-5-0.tex
new file mode 100644
index 0000000000..949853f109
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-05-5-0.tex
@@ -0,0 +1,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}