summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-fct/examples/latex/tkzFct-4-6-0.tex
blob: 40aff175707b12effba2eb6480b777c9178f2269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%
% tkz-euclide (14/01/2011)
%
% Coding (utf8) Creator (TeX) Producer (pdfeTeX) 
% Author Alain Matthes
\input{tkzfctpreamble.ltx}

\begin{document}

 \begin{tikzpicture}[]
 \tkzInit[ymax=20,ystep=5]
 \tkzAxeXY
 \tkzFct[color=red,domain=0:10,samples=2]{2*x+5}
 \tkzFct[color=blue,domain=0:10,samples=2]{-x+15}
 \tkzFct[color=green,domain=0:10,samples=2]{7} % 7/5=1
 \tkzFct[color=purple,domain=0:10,samples=2]{7.}%7.0/5 =1.2
\end{tikzpicture}

\end{document}