Fixed legend of average error plot

This commit is contained in:
Andreas Tsouchlos 2023-01-26 14:51:14 +01:00
parent 0235f3fe35
commit 28e250d4b7

View File

@ -1430,24 +1430,24 @@ $\textcolor{KITblue}{\text{Output }\boldsymbol{\tilde{c}}_n\text{ with lowest }d
ylabel={Average $\left| \boldsymbol{x}-\boldsymbol{\hat{x}} \right|$}, ylabel={Average $\left| \boldsymbol{x}-\boldsymbol{\hat{x}} \right|$},
legend pos=outer north east, legend pos=outer north east,
] ]
\addplot table [col sep=comma, \addplot[blue, mark=none, line width=1pt] table [col sep=comma,
discard if not={omega}{0.0774263682681127}, discard if not={omega}{0.0774263682681127},
x=k, y=err, mark=none] x=k, y=err]
{res/proximal/2d_avg_error_20433484_1db.csv}; {res/proximal/2d_avg_error_20433484_1db.csv};
\addlegendentry{$E_b / N_0 = \SI{1}{dB}$} \addlegendentry{$E_b / N_0 = \SI{1}{dB}$}
\addplot table [col sep=comma, \addplot[Red, mark=none, line width=1pt] table [col sep=comma,
discard if not={omega}{0.0774263682681127}, discard if not={omega}{0.0774263682681127},
x=k, y=err, mark=none] x=k, y=err]
{res/proximal/2d_avg_error_20433484_3db.csv}; {res/proximal/2d_avg_error_20433484_3db.csv};
\addlegendentry{$E_b / N_0 = \SI{3}{dB}$} \addlegendentry{$E_b / N_0 = \SI{3}{dB}$}
\addplot table [col sep=comma, \addplot[Brown, mark=none, line width=1pt] table [col sep=comma,
discard if not={omega}{0.052233450742668434}, discard if not={omega}{0.052233450742668434},
x=k, y=err, mark=none] x=k, y=err]
{res/proximal/2d_avg_error_20433484_5db.csv}; {res/proximal/2d_avg_error_20433484_5db.csv};
\addlegendentry{$E_b / N_0 = \SI{5}{dB}$} \addlegendentry{$E_b / N_0 = \SI{5}{dB}$}
\addplot table [col sep=comma, \addplot[Black, mark=none, line width=1pt] table [col sep=comma,
discard if not={omega}{0.052233450742668434}, discard if not={omega}{0.052233450742668434},
x=k, y=err, mark=none] x=k, y=err]
{res/proximal/2d_avg_error_20433484_8db.csv}; {res/proximal/2d_avg_error_20433484_8db.csv};
\addlegendentry{$E_b / N_0 = \SI{8}{dB}$} \addlegendentry{$E_b / N_0 = \SI{8}{dB}$}
\end{axis} \end{axis}