summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-08-9-0.tex
blob: 29e26a498cecbd3ed93fd5b20c56f206c7d3ae13 (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. 32 (Section  8.9 : Surface comprise entre deux courbes : courbes de Lorentz)

\begin{tikzpicture}[scale=1.25]
  \tkzInit[xmax=1,ymax=1,xstep=0.1,ystep=0.1]
  \tkzGrid
  \tkzAxeXY
  \tkzFct[color   = red,domain = 0:1]{(exp(\x)-1)/(exp(1)-1)}
  \tkzFct[color   = blue,domain = 0:1]{\x*\x*\x}
  \tkzFct[color  = green,domain = 0:1]{\x}
  \tkzDrawAreafg[between = c and b,color=purple!40,domain = 0:1]
  \tkzDrawAreafg[between = c and a,color=gray!60,domain = 0:1]
\end{tikzpicture}

\end{document}