aboutsummaryrefslogtreecommitdiffstats
path: root/buch/chapters/080-funktionentheorie/images/nonanalytic.tex
blob: 258e0f5f237427706ac6e005766a0a960fac280b (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
39
40
%
% nonanalytic.tex -- nicht analytische reelle C^\infty-Funktion
%
% (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
%
\documentclass[tikz]{standalone}
\usepackage{amsmath}
\usepackage{times}
\usepackage{txfonts}
\usepackage{pgfplots}
\usepackage{csvsimple}
\usetikzlibrary{arrows,intersections,math}
\begin{document}
\def\skala{1}
\begin{tikzpicture}[>=latex,thick,scale=\skala]

\draw[color=red,line width=1.4pt] plot[domain=0.01:2.5,samples=100]
	({2*\x},{4*exp(-1/(\x*\x))});
\draw[color=red,line width=1.4pt] plot[domain=0.01:2.5,samples=100]
	({-2*\x},{4*exp(-1/(\x*\x))});

\draw (2,-0.1) -- (2,0.1);
\draw (4,-0.1) -- (4,0.1);
\draw (-2,-0.1) -- (-2,0.1);
\draw (-4,-0.1) -- (-4,0.1);

\node at (2,0) [below] {$1$};
\node at (4,0) [below] {$2$};
\node at (-2,0) [below] {$-1$};
\node at (-4,0) [below] {$-2$};

\draw (-0.1,4) -- (0.1,4);
\node at (-0.1,4) [left] {$1$};

\draw[->] (-5.1,0) -- (5.4,0) coordinate[label={$x$}];
\draw[->] (0,-0.1) -- (0,4.4) coordinate[label={right:$y$}];

\end{tikzpicture}
\end{document}