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

% Ex. No. 31 (Section  8.8 : Surface comprise entre deux courbes avec l'option \tkzname{between})

\begin{tikzpicture}[scale=1.25]
 \tkzInit[ymin=-1,xmax=5,ymax=3]
 \tkzGrid
 \tkzAxeXY
 \tkzFct[domain = 0.5:5]{1/x}% courbe a
 \tkzFct[domain = 1:5]{log(x)}% courbe b
 \tkzDrawAreafg[between=b and a,
            color=magenta!50,
            domain = 1:4]
\end{tikzpicture}

\end{document}