-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLamb_dip.tikz.tex
More file actions
38 lines (27 loc) · 1.02 KB
/
Lamb_dip.tikz.tex
File metadata and controls
38 lines (27 loc) · 1.02 KB
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
% \documentclass[]{standalone}
% \input{tikz_header.tex}
% \begin{document}
\begin{tikzpicture}
\begin{groupplot}[group style={group size=1 by 2}, width=55mm, height=40mm,no markers,
]
\nextgroupplot
[font={\small},
xlabel={Geschwindigkeit $v$}, ylabel={Anzahl $N_g (v)$ },
xtick={0, 1.5} ,
xticklabels = {$0$, $v_0$},
ytick = {0}
]
\addplot[dashed, domain = (-5:5), samples = 100] {exp(- x^2 / 2^2 ) } ;
\addplot[thick, domain = (-5:5), samples = 1000] {exp(- x^2 / 2^2 ) * (1 - 0.2^2 * 0.5 / ( (x- 1.5)^2 + 0.2^2) ) } ;
\nextgroupplot
[font={\small},
xlabel={Frequenz $\omega$}, ylabel={Absorption $\alpha (\omega)$},
xtick={0} ,
xticklabels = {$\omega_0$},
ytick = {0}
]
\addplot[dashed, domain = (-5:5), samples = 100] {exp(- x^2 / 2^2 ) } ;
\addplot[thick, domain = (-5:5), samples = 1000] {exp(- x^2 / 2^2 ) * (1 - 0.2^2 * 0.5 / ( (x-0)^2 + 0.2^2) ) } ;
\end{groupplot}
\end{tikzpicture}
%\end{document}