-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathfigure8-7-GAN-Generator-Distributions-Signal.tex
More file actions
64 lines (51 loc) · 1.83 KB
/
figure8-7-GAN-Generator-Distributions-Signal.tex
File metadata and controls
64 lines (51 loc) · 1.83 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
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
\documentclass[border=1cm]{standalone}
\usepackage{pgfplots}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{shapes.geometric, shapes.misc}
%\pgfplotsset{compat=1.18}
\pgfmathdeclarefunction{gauss}{3}{%
\pgfmathparse{1/(#3*sqrt(2*pi))*exp(-((#1-#2)^2)/(2*#3^2))}%
}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis line style = ultra thick,
clip=false,
samples=1000,
ymin=0, xmin=0, xmax=40, ymax=1,
hide y axis,
domain=-5:40,
xtick=\empty,
axis lines*=left,
enlargelimits=false,
width=20cm,
height=5cm]
\addplot[black, ultra thick,restrict x to domain=5:15] {gauss(x, 10, .7)}
coordinate [pos=1] (g10)
coordinate [pos=0.5] (g11)
coordinate [pos=0.6] (g12);
\addplot[black, ultra thick,restrict x to domain=25:35] {gauss(x, 30, .7)}
coordinate [pos=1] (g20)
coordinate [pos=0.5] (g21)
coordinate [pos=.6] (g22)
coordinate [pos=.7] (g23);
\node at ([xshift=1cm]g12) {\large $p_{{\cal D}}(\cdot)$};
\node at ([xshift=1cm]g22) {\large $p_{G}(\cdot)$};
\draw[black, thick] ([xshift=-120, yshift=11]g11) -- ([xshift=120, yshift=11]g11);
\draw[black, thick] ([xshift=120, yshift=11]g11) to[out=-5, in=180] (230,0);
% Add "XX" label next to the red curve
\node at ([xshift=160, yshift=0]g11) {\large $f_{\phi^{(t)}}^D(\cdot)$};
\fill[fill=black] ([xshift=-100]g10) circle (3pt);
\fill[fill=black] ([xshift=-80]g10) circle (3pt);
\fill[fill=black] ([xshift=-70]g10) circle (3pt);
\fill[fill=black] ([xshift=-65]g10) circle (3pt);
\fill[fill=black] ([xshift=-50]g10) circle (3pt);
\fill[fill=black] ([xshift=-100]g20) circle (3pt);
\fill[fill=black] ([xshift=-85]g20) circle (3pt);
\fill[fill=black] ([xshift=-80]g20) circle (3pt);
\fill[fill=black] ([xshift=-70]g20) circle (3pt);
\fill[fill=black] ([xshift=-65]g20) circle (3pt);
\fill[fill=black] ([xshift=-60]g20) circle (3pt);
\end{axis}
\end{tikzpicture}
\end{document}