From 6964c9b50490003a4e2da939a020850d31dc8777 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Thu, 16 Dec 2021 18:16:31 +0100 Subject: Figures for statistical model --- .../figures/tikz/rayleigh-rice-pdf-plots.tex | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 doc/thesis/figures/tikz/rayleigh-rice-pdf-plots.tex (limited to 'doc/thesis/figures/tikz/rayleigh-rice-pdf-plots.tex') diff --git a/doc/thesis/figures/tikz/rayleigh-rice-pdf-plots.tex b/doc/thesis/figures/tikz/rayleigh-rice-pdf-plots.tex new file mode 100644 index 0000000..2a8f971 --- /dev/null +++ b/doc/thesis/figures/tikz/rayleigh-rice-pdf-plots.tex @@ -0,0 +1,33 @@ +% vim:set ts=2 sw=2 noet: +\begin{tikzpicture} + \begin{axis}[ + font = \small, + width = \linewidth, height = 6cm, + ylabel = {Probability density}, + % xlabel = {Amplitude}, + xlabel near ticks, + ylabel near ticks, + smooth, samples = 100, domain = 0:3, + legend = north east, legend style = { + cells = {anchor = west}, + font = \footnotesize, + }, + ] + + \addplot[thick, solid, blue] plot ({x}, {2*x*exp(-x^2)}); + \addlegendentry{Rayleigh} + + \addplot[thick, solid, red!40!blue] table[x index = 0, y index = 2] + {figures/data/rice_pdf.dat}; + \addlegendentry{Rice \(K = 2\)} + + \addplot[thick, solid, red!60!blue] table[x index = 0, y index = 3] + {figures/data/rice_pdf.dat}; + \addlegendentry{Rice \(K = 5\)} + + \addplot[thick, solid, red!80!blue] table[x index = 0, y index = 4] + {figures/data/rice_pdf.dat}; + \addlegendentry{Rice \(K = 10\)} + + \end{axis} +\end{tikzpicture} -- cgit v1.2.1