Changed plot domain of 8dB SNR plots; Moved legends to right

This commit is contained in:
Andreas Tsouchlos 2023-01-25 02:55:02 +01:00
parent 8ba7124f62
commit 4a53ab2cfb

View File

@ -34,16 +34,19 @@
ymax=1.2, ymin=0.8e-4, ymax=1.2, ymin=0.8e-4,
xmin=0.9, xmax=5.6, xmin=0.9, xmax=5.6,
] ]
\addplot table [x=SNR, y=BER, \addplot table [x=SNR, y=BER, col sep=comma,
col sep=comma, discard if not={gamma}{0.15}] discard if not={gamma}{0.15},
discard if gt={SNR}{5.5},]
{res/proximal/2d_ber_fer_dfr_20433484.csv}; {res/proximal/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{$\gamma = 0.15$} \addlegendentry{$\gamma = 0.15$}
\addplot table [x=SNR, y=BER, \addplot table [x=SNR, y=BER, col sep=comma,
col sep=comma, discard if not={gamma}{0.01}] discard if not={gamma}{0.01},
discard if gt={SNR}{5.5},]
{res/proximal/2d_ber_fer_dfr_20433484.csv}; {res/proximal/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{$\gamma = 0.01$} \addlegendentry{$\gamma = 0.01$}
\addplot table [x=SNR, y=BER, \addplot table [x=SNR, y=BER, col sep=comma,
col sep=comma, discard if not={gamma}{0.05}] discard if not={gamma}{0.05},
discard if gt={SNR}{5.5},]
{res/proximal/2d_ber_fer_dfr_20433484.csv}; {res/proximal/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{$\gamma = 0.05$} \addlegendentry{$\gamma = 0.05$}
\end{axis} \end{axis}
@ -286,7 +289,7 @@
\addlegendentry{$\gamma = 0.15$} \addlegendentry{$\gamma = 0.15$}
\end{axis} \end{axis}
\end{tikzpicture} \end{tikzpicture}
\caption{BCH code with $n=31, k=26$} \caption{BCH code with $n=31, k=26$\\[2\baselineskip]}
\end{subfigure}% \end{subfigure}%
\begin{subfigure}[c]{0.33\textwidth} \begin{subfigure}[c]{0.33\textwidth}
\centering \centering
@ -819,8 +822,10 @@ $\textcolor{KITblue}{\text{Output }\boldsymbol{\tilde{x}}_n\text{ with lowest }d
grid=both, grid=both,
xlabel={$E_b / N_0$}, ylabel={FER}, xlabel={$E_b / N_0$}, ylabel={FER},
ymode=log, ymode=log,
legend columns=2, legend columns=1,
legend style={at={(0.5,-0.45)},anchor=south}, legend pos=outer north east,
%legend columns=2,
%legend style={at={(0.5,-0.45)},anchor=south},
ymax=1.5, ymin=3e-8, ymax=1.5, ymin=3e-8,
] ]
@ -852,7 +857,7 @@ $\textcolor{KITblue}{\text{Output }\boldsymbol{\tilde{x}}_n\text{ with lowest }d
\addlegendentry{hybrid, $\gamma = 0.05$} \addlegendentry{hybrid, $\gamma = 0.05$}
\end{axis} \end{axis}
\end{tikzpicture} \end{tikzpicture}
\caption{$\left( 3, 6 \right)$-regular LDPC code with $n=96, k=48$\\ \cite[\text{96.3.965}]{mackay_enc}} \caption{$\left( 3, 6 \right)$-regular LDPC code with $n=96, k=48$ \cite[\text{96.3.965}]{mackay_enc}}
\end{subfigure}% \end{subfigure}%
\begin{subfigure}[c]{0.33\textwidth} \begin{subfigure}[c]{0.33\textwidth}
\centering \centering
@ -861,40 +866,53 @@ $\textcolor{KITblue}{\text{Output }\boldsymbol{\tilde{x}}_n\text{ with lowest }d
grid=both, grid=both,
xlabel={$E_b / N_0$}, ylabel={FER}, xlabel={$E_b / N_0$}, ylabel={FER},
ymode=log, ymode=log,
legend columns=2, legend columns=1,
legend style={at={(0.5,-0.45)},anchor=south}, legend pos=outer north east,
xmin=0.5, xmax=6, xtick={1, ..., 5},
ymax=1.5, ymin=3e-8, ymax=1.5, ymin=3e-8,
] ]
\addplot[ForestGreen, mark=*, solid] \addplot[ForestGreen, mark=*, solid,]
table [x=SNR, y=FER, col sep=comma, discard if not={gamma}{0.15}] table [x=SNR, y=FER, col sep=comma,
discard if not={gamma}{0.15},
discard if gt={SNR}{5.5},]
{res/proximal/2d_ber_fer_dfr_20433484.csv}; {res/proximal/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{proximal, $\gamma = 0.15$} \addlegendentry{proximal, $\gamma = 0.15$}
\addplot[Emerald, mark=triangle, densely dashed] \addplot[Emerald, mark=triangle, densely dashed]
table [x=SNR, y=FER, col sep=comma, discard if not={gamma}{0.15}] table [x=SNR, y=FER, col sep=comma,
discard if not={gamma}{0.15},
discard if gt={SNR}{5.5},]
{res/hybrid/2d_ber_fer_dfr_20433484.csv}; {res/hybrid/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{hybrid, $\gamma = 0.15$} \addlegendentry{hybrid, $\gamma = 0.15$}
\addplot[NavyBlue, mark=*, solid] \addplot[NavyBlue, mark=*, solid]
table [x=SNR, y=FER, col sep=comma, discard if not={gamma}{0.01}] table [x=SNR, y=FER, col sep=comma,
discard if not={gamma}{0.01},
discard if gt={SNR}{5.5},]
{res/proximal/2d_ber_fer_dfr_20433484.csv}; {res/proximal/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{proximal, $\gamma = 0.01$} \addlegendentry{proximal, $\gamma = 0.01$}
\addplot[RoyalPurple, mark=triangle, densely dashed] \addplot[RoyalPurple, mark=triangle, densely dashed]
table [x=SNR, y=FER, col sep=comma, discard if not={gamma}{0.01}] table [x=SNR, y=FER, col sep=comma,
discard if not={gamma}{0.01},
discard if gt={SNR}{5.5},]
{res/hybrid/2d_ber_fer_dfr_20433484.csv}; {res/hybrid/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{hybrid, $\gamma = 0.01$} \addlegendentry{hybrid, $\gamma = 0.01$}
\addplot[RedOrange, mark=*, solid] \addplot[RedOrange, mark=*, solid]
table [x=SNR, y=FER, col sep=comma, discard if not={gamma}{0.05}] table [x=SNR, y=FER, col sep=comma,
discard if not={gamma}{0.05},
discard if gt={SNR}{5.5},]
{res/proximal/2d_ber_fer_dfr_20433484.csv}; {res/proximal/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{proximal, $\gamma = 0.05$} \addlegendentry{proximal, $\gamma = 0.05$}
\addplot[red, mark=triangle, densely dashed] \addplot[red, mark=triangle, densely dashed]
table [x=SNR, y=FER, col sep=comma, discard if not={gamma}{0.05}] table [x=SNR, y=FER, col sep=comma,
discard if not={gamma}{0.05},
discard if gt={SNR}{5.5},]
{res/hybrid/2d_ber_fer_dfr_20433484.csv}; {res/hybrid/2d_ber_fer_dfr_20433484.csv};
\addlegendentry{hybrid, $\gamma = 0.05$} \addlegendentry{hybrid, $\gamma = 0.05$}
\end{axis} \end{axis}
\end{tikzpicture} \end{tikzpicture}
\caption{$\left( 3, 6 \right)$-regular LDPC code with $n=204, k=102$\\ \cite[\text{204.33.484}]{mackay_enc}} \caption{$\left( 3, 6 \right)$-regular LDPC code with $n=204, k=102$ \cite[\text{204.33.484}]{mackay_enc}}
\end{subfigure}% \end{subfigure}%
\begin{subfigure}[c]{0.33\textwidth} \begin{subfigure}[c]{0.33\textwidth}
\centering \centering
@ -903,8 +921,10 @@ $\textcolor{KITblue}{\text{Output }\boldsymbol{\tilde{x}}_n\text{ with lowest }d
grid=both, grid=both,
xlabel={$E_b / N_0$}, ylabel={FER}, xlabel={$E_b / N_0$}, ylabel={FER},
ymode=log, ymode=log,
legend columns=2, legend columns=1,
legend style={at={(0.5,-0.45)},anchor=south}, legend pos=outer north east,
%legend columns=2,
%legend style={at={(0.5,-0.45)},anchor=south},
ymax=1.5, ymin=3e-8, ymax=1.5, ymin=3e-8,
] ]
@ -936,7 +956,7 @@ $\textcolor{KITblue}{\text{Output }\boldsymbol{\tilde{x}}_n\text{ with lowest }d
\addlegendentry{hybrid, $\gamma = 0.05$} \addlegendentry{hybrid, $\gamma = 0.05$}
\end{axis} \end{axis}
\end{tikzpicture} \end{tikzpicture}
\caption{$\left( 3, 6 \right)$-regular LDPC code with $n=408, k=204$\\ \cite[\text{408.33.844}]{mackay_enc}} \caption{$\left( 3, 6 \right)$-regular LDPC code with $n=408, k=204$ \cite[\text{408.33.844}]{mackay_enc}}
\end{subfigure} \end{subfigure}
\begin{subfigure}[c]{0.33\textwidth} \begin{subfigure}[c]{0.33\textwidth}
\centering \centering
@ -945,8 +965,10 @@ $\textcolor{KITblue}{\text{Output }\boldsymbol{\tilde{x}}_n\text{ with lowest }d
grid=both, grid=both,
xlabel={$E_b / N_0$}, ylabel={FER}, xlabel={$E_b / N_0$}, ylabel={FER},
ymode=log, ymode=log,
legend columns=2, legend columns=1,
legend style={at={(0.5,-0.45)},anchor=south}, legend pos=outer north east,
%legend columns=2,
%legend style={at={(0.5,-0.45)},anchor=south},
ymax=1.5, ymin=3e-8, ymax=1.5, ymin=3e-8,
] ]
@ -978,7 +1000,7 @@ $\textcolor{KITblue}{\text{Output }\boldsymbol{\tilde{x}}_n\text{ with lowest }d
\addlegendentry{hybrid, $\gamma = 0.05$} \addlegendentry{hybrid, $\gamma = 0.05$}
\end{axis} \end{axis}
\end{tikzpicture} \end{tikzpicture}
\caption{BCH code with $n=31, k=26$} \caption{BCH code with $n=31, k=26$\\[\baselineskip]}
\end{subfigure}% \end{subfigure}%
\begin{subfigure}[c]{0.33\textwidth} \begin{subfigure}[c]{0.33\textwidth}
\centering \centering
@ -987,8 +1009,10 @@ $\textcolor{KITblue}{\text{Output }\boldsymbol{\tilde{x}}_n\text{ with lowest }d
grid=both, grid=both,
xlabel={$E_b / N_0$}, ylabel={FER}, xlabel={$E_b / N_0$}, ylabel={FER},
ymode=log, ymode=log,
legend columns=2, legend columns=1,
legend style={at={(0.5,-0.45)},anchor=south}, legend pos=outer north east,
%legend columns=2,
%legend style={at={(0.5,-0.45)},anchor=south},
ymax=1.5, ymin=3e-8, ymax=1.5, ymin=3e-8,
] ]
@ -1020,7 +1044,7 @@ $\textcolor{KITblue}{\text{Output }\boldsymbol{\tilde{x}}_n\text{ with lowest }d
\addlegendentry{hybrid, $\gamma = 0.05$} \addlegendentry{hybrid, $\gamma = 0.05$}
\end{axis} \end{axis}
\end{tikzpicture} \end{tikzpicture}
\caption{$\left( 5, 10 \right)$-regular LDPC code with $n=204, k=102$\\ \cite[\text{204.55.187}]{mackay_enc}} \caption{$\left( 5, 10 \right)$-regular LDPC code with $n=204, k=102$ \cite[\text{204.55.187}]{mackay_enc}}
\end{subfigure}% \end{subfigure}%
\begin{subfigure}[c]{0.33\textwidth} \begin{subfigure}[c]{0.33\textwidth}
\centering \centering
@ -1029,8 +1053,8 @@ $\textcolor{KITblue}{\text{Output }\boldsymbol{\tilde{x}}_n\text{ with lowest }d
grid=both, grid=both,
xlabel={$E_b / N_0$}, ylabel={FER}, xlabel={$E_b / N_0$}, ylabel={FER},
ymode=log, ymode=log,
legend columns=2, legend columns=1,
legend style={at={(0.5,-0.45)},anchor=south}, legend pos=outer north east,
ymax=1.5, ymin=3e-8, ymax=1.5, ymin=3e-8,
] ]
@ -1062,7 +1086,7 @@ $\textcolor{KITblue}{\text{Output }\boldsymbol{\tilde{x}}_n\text{ with lowest }d
\addlegendentry{hybrid, $\gamma = 0.05$} \addlegendentry{hybrid, $\gamma = 0.05$}
\end{axis} \end{axis}
\end{tikzpicture} \end{tikzpicture}
\caption{LDPC code (Progressive Edge Growth Construction) with $n=504, k=252$\\ \cite[\text{PEGReg252x504}]{mackay_enc}} \caption{LDPC code (Progressive Edge Growth Construction) with $n=504, k=252$ \cite[\text{PEGReg252x504}]{mackay_enc}}
\end{subfigure}% \end{subfigure}%
\end{figure} \end{figure}
\end{frame} \end{frame}