aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/fresnel/images/fresnelgraph.tex
blob: 20df9517c00915d1b98f6a73c62260fda5b2ac0e (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
41
42
43
44
45
46
%
% fresnelgraph.tex -- Graphs of the fresnel functions
%
% (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]

\input{eulerpath.tex}
\def\dx{1.3}
\def\dy{2.6}

\draw[color=gray] (0,{0.5*\dy}) -- ({5*\dx},{0.5*\dy});
\draw[color=gray] (0,{-0.5*\dy}) -- ({-5*\dx},{-0.5*\dy});

\draw[color=blue,line width=1.4pt] \Splotright;
\draw[color=blue,line width=1.4pt] \Splotleft;

\draw[color=red,line width=1.4pt] \Cplotright;
\draw[color=red,line width=1.4pt] \Cplotleft;

\draw[->] (-6.7,0) -- (6.9,0) coordinate[label={$x$}];
\draw[->] (0,-2.3) -- (0,2.3) coordinate[label={$y$}];

\foreach \x in {1,2,3,4,5}{
	\draw ({\x*\dx},-0.05) -- ({\x*\dx},0.05);
	\draw ({-\x*\dx},-0.05) -- ({-\x*\dx},0.05);
	\node at ({\x*\dx},-0.05) [below] {$\x$};
	\node at ({-\x*\dx},0.05) [above] {$-\x$};
}
\draw (-0.05,{0.5*\dy}) -- (0.05,{0.5*\dy});
\node at (-0.05,{0.5*\dy}) [left] {$\frac12$};
\draw (-0.05,{-0.5*\dy}) -- (0.05,{-0.5*\dy});
\node at (0.05,{-0.5*\dy}) [right] {$-\frac12$};

\end{tikzpicture}
\end{document}