summaryrefslogtreecommitdiff
path: root/info/examples/Einfuehrung2/15-04-59.ltx
blob: d36fc1c4bf972c3c342010fbb3b7b458e67b7781 (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
38
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  2. Auflage
%% 
%%  Beispiel 15-04-59 auf Seite 804.
%% 
%%  Copyright (C) 2016 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{145.16928pt}
\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}