Add more BP datapoints; Change plot legend

This commit is contained in:
Andreas Tsouchlos 2024-06-14 08:32:21 +02:00
parent 2670cac40b
commit 728b321268
2 changed files with 25 additions and 65 deletions

View File

@ -780,19 +780,9 @@ of memory and computational resources.
width=\figwidth,
height=\figheight,
legend pos=north east,
legend cell align={left},
ylabel={BER (\lineintext{}), FER (\lineintext{dashed})},
]
\addplot+[FERPlot, mark=o, mark options={solid}, scol0, forget plot]
table [x=SNR, y=FER, col sep=comma,
discard if gt={SNR}{9}]
{res/bp_20433484.csv};
\addplot+[BERPlot, mark=*, scol0]
table [x=SNR, y=BER, col sep=comma,
discard if gt={SNR}{7.5}]
{res/bp_20433484.csv};
\addlegendentry{BP};
\addplot+[FERPlot, mark=o, mark options={solid}, scol1, forget plot]
table [x=SNR, y=FER, col sep=comma,
discard if not={gamma}{0.05},
@ -818,6 +808,17 @@ of memory and computational resources.
discard if gt={SNR}{6.5}]
{res/improved_ber_fer_dfr_20433484.csv};
\addlegendentry{Improved};
\addplot+[FERPlot, mark=o, mark options={solid}, scol0, forget plot]
table [x=SNR, y=FER, col sep=comma,
discard if gt={SNR}{9}]
{res/bp_20433484.csv};
\addplot+[BERPlot, mark=*, scol0]
table [x=SNR, y=BER, col sep=comma,
discard if gt={SNR}{7.5}]
{res/bp_20433484.csv};
\addlegendentry{BP};
\end{axis}
\end{tikzpicture}
\fi

View File

@ -1,55 +1,14 @@
SNR,FER, BER
1.0, 0.660130718954248 , 0.0852528713750873 , 201
1.5, 0.404000000000000 , 0.0521189120809614 , 201
2.0, 0.152567975830816 , 0.0205194201655138 , 201
2.5, 0.0608433734939759 , 0.00596517145671054 , 201
3.0, 0.0129470580694783 , 0.00123860830178510 , 201
3.5, 0.00181828001512233 , 0.000157819883647122, 201
4.0, 0.000220000000000000, 1.38446077628694e-05, 201
4.5, 2.00000000000000e-05, 2.09803921568627e-06, 58
SNR,FER,BER,num_frame_errors
1.0, 0.654723127035831 , 0.0888101168806285 , 201
1.5, 0.392578125000000 , 0.0482345281862745 , 201
2.0, 0.182561307901907 , 0.0213175188331463 , 201
2.5, 0.0620753551575046 , 0.00605856919667188 , 201
3.0, 0.0130012936610608 , 0.00128034396164675 , 201
3.5, 0.00176298778188070 , 0.000150054320523940, 201
4.0, 0.000267259157615091, 1.51866607463458e-05, 201
4.5, 5.33724908622844e-05, 1.98370100658768e-06, 201
5.0, 1.34177489983751e-05, 3.66497875284852e-07, 201
5.5, 4.12634778374169e-06, 1.04658123477986e-07, 201
6.0, 1.08000000000000e-06, 2.41176470588235e-08, 108
6.5, 3.60000000000000e-07, 8.62745098039216e-09, 36

1 SNR,FER, BER SNR FER BER num_frame_errors
2 1.0, 0.660130718954248 , 0.0852528713750873 , 201 1.0 0.654723127035831 0.0888101168806285 201
3 1.5, 0.404000000000000 , 0.0521189120809614 , 201 1.5 0.392578125000000 0.0482345281862745 201
4 2.0, 0.152567975830816 , 0.0205194201655138 , 201 2.0 0.182561307901907 0.0213175188331463 201
5 2.5, 0.0608433734939759 , 0.00596517145671054 , 201 2.5 0.0620753551575046 0.00605856919667188 201
6 3.0, 0.0129470580694783 , 0.00123860830178510 , 201 3.0 0.0130012936610608 0.00128034396164675 201
7 3.5, 0.00181828001512233 , 0.000157819883647122, 201 3.5 0.00176298778188070 0.000150054320523940 201
8 4.0, 0.000220000000000000, 1.38446077628694e-05, 201 4.0 0.000267259157615091 1.51866607463458e-05 201
9 4.5, 2.00000000000000e-05, 2.09803921568627e-06, 58 4.5 5.33724908622844e-05 1.98370100658768e-06 201
10 5.0 1.34177489983751e-05 3.66497875284852e-07 201
11 5.5 4.12634778374169e-06 1.04658123477986e-07 201
12 6.0 1.08000000000000e-06 2.41176470588235e-08 108
13 6.5 3.60000000000000e-07 8.62745098039216e-09 36
14