summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-14-5-0.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-14-5-0.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-14-5-0.tex19
1 files changed, 9 insertions, 10 deletions
diff --git a/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-14-5-0.tex b/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-14-5-0.tex
index e72e2c5253..e943de9a7d 100644
--- a/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-14-5-0.tex
+++ b/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-14-5-0.tex
@@ -1,16 +1,15 @@
-%
-% tkz-euclide (14/01/2011)
-%
-% Coding (utf8) Creator (TeX) Producer (pdfeTeX)
-% Author Alain Matthes
-\input{tkzfctpreamble.ltx}
-
+\input{preamble-standalone.ltx}
\begin{document}
+% Ex. No. 64 (Section 14.5 : Un peu de tout)
+
\begin{tikzpicture}[scale=.8]
\tkzInit[xmin=5,xmax=40,ymin=0,ymax=350,xstep=2.5,ystep=25]
- \tkzAxeX[label=$q$]
- \tkzAxeY[label=$C(q)$] \tkzGrid
+ \tkzDrawX[label=$q$]
+ \tkzLabelX
+ \tkzDrawY[label=$C(q)$]
+ \tkzLabelY
+ \tkzGrid
\tkzFct[domain=5:40]{0.1*\x**2+2*\x+60}
\foreach \vv in {5,10,...,40}{%
\tkzDefPointByFct(\vv)
@@ -23,4 +22,4 @@
\tkzDrawSetOfPoints[mark = x,mark size=3pt]
\end{tikzpicture}
-\end{document}
+\end{document}