summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung/15-04-59.ltx
blob: 629988d00fc4696661caff0a003bd04c8aa1770b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  1. Auflage
%% 
%%  Beispiel 15-04-59 auf Seite 831.
%% 
%%  Copyright (C) 2011 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
%% 
\documentclass[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{142.324pt}
\usepackage[T1]{fontenc}
\StartShownPreambleCommands
\usepackage{tikz}
\StopShownPreambleCommands
\begin{document}
\begin{tikzpicture}[domain=0:4]
 \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
 \draw[->] (-0.2,0) -- (4.2,0) node[right] {$x$};
 \draw[->] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
 \draw[color=red]   plot(\x,\x)            node[right]{$f(x)=x$};
 \draw[color=blue]  plot(\x,{sin(\x r)})   node[right]{$f(x)=\sin x$};
 \draw[color=orange]plot(\x,{0.05*exp(\x)})node[right]{$f(x)=\frac{1}{20}\mathrm{e}^x$};
\end{tikzpicture}
\end{document}