%%
%%  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}