summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-fct/doc/latex/TKZdoc-fct-why.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-fct/doc/latex/TKZdoc-fct-why.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-fct/doc/latex/TKZdoc-fct-why.tex23
1 files changed, 12 insertions, 11 deletions
diff --git a/macros/latex/contrib/tkz/tkz-fct/doc/latex/TKZdoc-fct-why.tex b/macros/latex/contrib/tkz/tkz-fct/doc/latex/TKZdoc-fct-why.tex
index 131d1b8b89..9108d7118d 100644
--- a/macros/latex/contrib/tkz/tkz-fct/doc/latex/TKZdoc-fct-why.tex
+++ b/macros/latex/contrib/tkz/tkz-fct/doc/latex/TKZdoc-fct-why.tex
@@ -1,4 +1,3 @@
-%!TEX root = /Users/ego/Boulot/TKZ/tkz-fct/doc-fr/TKZdoc-fct-main.tex
\section{Fonctionnement}
\TIKZ\ apporte différentes possibilités pour obtenir les représentations graphiques des fonctions. J'ai privilégié l'utilisation de \tkzname{gnuplot}, car je trouve \tkzname{pgfmath} trop lent et les résultats trop imprécis.
@@ -28,16 +27,18 @@ Les valeurs de $f(x)$ sont comprises entre 0 et $\numprint{1000000}$. En choisis
Les valeurs du domaine seront comprises entre $0$ et $10$, mais l'expression donnée à \tkzname{gnuplot}, comportera des \tkzcname{x} équivalents à $x \times 10$, enfin, la valeur finale sera divisée par \tkzname{ystep=100000}. Les valeurs de $f(x)$ resteront ainsi comprises entre $0$ et $10$.
\begin{tkzexample}[latex=10cm,small]
-\begin{tikzpicture}[scale=.5]
- \tkzInit[xmax=100,xstep=10,
- ymax=1000000,
- ystep=100000]
- \tkzAxeX[right]
- \tkzAxeY[above]
- \tkzGrid
- \tkzFct[color=red,
- domain=0:100]{\x**3}
-\end{tikzpicture}
+ \begin{tikzpicture}[scale=.5]
+ \tkzInit[xmax=100,xstep=10,
+ ymax=1000000,
+ ystep=100000]
+ \tkzDrawX[right]
+ \tkzDrawY[above]
+ \tkzLabelX[below=6pt]
+ \tkzLabelY[left=6pt]
+ \tkzGrid
+ \tkzFct[color=red,
+ domain=0:100]{\x**3}
+ \end{tikzpicture}
\end{tkzexample}