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

% Ex. No. 7 (Section  4.5 : \tkzname{ystep} et les fonctions constantes)

 \begin{tikzpicture}[scale=0.4]
 \tkzInit[xmax=30,ymax=90,ystep=6]
 \tkzFct[line width=1pt,color=red,dashed,domain=0:30]{80.0}
 \tkzFct[line width=1pt,color=blue,domain=0:30]{80/(1.0+4.0*exp(-0.21*x))}
 \tkzText[above,color=red](20,80){$P=80$}
\end{tikzpicture}

\end{document}