aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/fm/anim/animation.tex
blob: 4a6f4288790720d2d48e6b76b65028f6378ecebf (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
%
% animation.tex
%
% (c) 2022 Prof Dr Andreas Müller,
%
\documentclass[aspectratio=169]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{epic}
\usepackage{color}
\usepackage{array}
\usepackage{ifthen}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{nccmath}
\usepackage{mathtools}
\usepackage{adjustbox}
\usepackage{multimedia}
\usepackage{verbatim}
\usepackage{wasysym}
\usepackage{stmaryrd}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{calc}
\usetikzlibrary{arrows}
\usetikzlibrary{3d}
\usetikzlibrary{arrows,shapes,math,decorations.text,automata}
\usepackage{pifont}
\usepackage[all]{xy}
\usepackage[many]{tcolorbox}
\mode<beamer>{%
\usetheme[hideothersubsections,hidetitle]{Hannover}
}
\beamertemplatenavigationsymbolsempty
\begin{document}

\def\spektrum#1#2{
\only<#1>{
	\begin{scope}
	\color{red}
	\input{#2}
	\end{scope}
}
}

\begin{frame}
\begin{center}
\begin{tikzpicture}[>=latex,thick]
\def\df{0.37}
\def\da{1}

\draw[->,color=gray] (0,-0.1) -- (0,6.3) [right] coordinate[label={right:$a$}];

\foreach \a in {1,...,5}{
	\draw[color=gray!50] (-6,{(6-\a)*\da}) -- (6,{(6-\a)*\da});
}
\draw[color=gray!50] (-6,{6*\da}) -- (6,{6*\da});
\foreach \f in {-15,-10,-5,5,10,15}{
	\draw[color=gray!50] ({\f*\df},0) -- ({\f*\df},{6*\da});
}

\input{parts.tex}

\draw[->] (-6.1,0) -- (6.9,0) coordinate[label={$f$}];
\foreach \f in {-16,...,16}{
	\draw ({\f*\df},-0.05) -- ({\f*\df},0.05);
}
\foreach \f in {-15,-10,-5,5,10,15}{
	\node at ({\f*\df},-0.1) [below] {$\f f_m$};
	\draw ({\f*\df},-0.1) -- ({\f*\df},0.1);
}
\node at (0,-0.1) [below] {$0$};

\foreach \a in {1,...,5}{
	\node at (6,{(6-\a)*\da}) [right] {$-\a$};
}
\node at (6,{6*\da}) [right] {$\phantom{-}0$};

\end{tikzpicture}
\end{center}
\end{frame}

\end{document}