Files
imdd_silas/pam6_db.tex
2024-11-13 10:49:49 +01:00

186 lines
3.1 KiB
TeX

% This file was created by matlab2tikz.
%
%The latest updates can be retrieved from
% http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz-matlab2tikz
%where you can also make suggestions and rate matlab2tikz.
%
\definecolor{mycolor1}{rgb}{0.90471,0.19176,0.19882}%
\definecolor{mycolor2}{rgb}{0.29412,0.54471,0.74941}%
\definecolor{mycolor3}{rgb}{0.37176,0.71765,0.36118}%
\definecolor{mycolor4}{rgb}{1.00000,0.54824,0.10000}%
%
\begin{tikzpicture}
\begin{axis}[%
width=0.951\fwidth,
height=\fheight,
at={(0\fwidth,0\fheight)},
scale only axis,
xmin=15,
xmax=40,
xlabel style={font=\color{white!15!black}},
xlabel={Received Optical Power (dBm)},
ymode=log,
ymin=0.001,
ymax=1,
yminorticks=true,
ylabel style={font=\color{white!15!black}},
ylabel={Bit Error Rate (BER)},
axis background/.style={fill=white},
title style={font=\bfseries},
title={Bit Error Rate vs. ROP},
xmajorgrids,
xminorgrids,
ymajorgrids,
yminorgrids,
legend style={legend cell align=left, align=left, draw=white!15!black}
]
\addplot [color=mycolor1, mark size=2.5pt, mark=*, mark options={solid, mycolor1}]
table[row sep=crcr]{%
15 0.327010199014477\\
16 0.311702995808577\\
17 0.302976362038969\\
18 0.290172900555268\\
19 0.275210526133021\\
20 0.263951328094344\\
21 0.253598824873511\\
22 0.239834843333831\\
23 0.222991710913327\\
24 0.213765370578083\\
25 0.187866749545958\\
26 0.171604235178092\\
27 0.15502015841983\\
28 0.131515892335633\\
29 0.118871823008727\\
30 0.0915567300646945\\
31 0.0811198427608527\\
32 0.0718601655039258\\
33 0.0635054467668395\\
34 0.0547899253044598\\
35 0.029896620816824\\
36 0.0124562018828416\\
37 0.00786577721907566\\
38 0.00456715827050829\\
39 0.00261799013088214\\
40 0.00153766551260726\\
};
\addlegendentry{VNLE Lw: 0.5 MHz}
\addplot [color=mycolor2, mark size=2.5pt, mark=*, mark options={solid, mycolor2}]
table[row sep=crcr]{%
15 0\\
16 0\\
17 0\\
18 0\\
19 0\\
20 0\\
21 0\\
22 0\\
23 0\\
24 0\\
25 0\\
26 0\\
27 0\\
28 0\\
29 0\\
30 0\\
31 0\\
32 0\\
33 0\\
34 0\\
35 0\\
36 0\\
37 0\\
38 0\\
39 0\\
40 0\\
};
\addlegendentry{MLSE 1 Lw: 0.5 MHz}
\addplot [color=mycolor3, mark size=2.5pt, mark=*, mark options={solid, mycolor3}]
table[row sep=crcr]{%
15 0\\
16 0\\
17 0\\
18 0\\
19 0\\
20 0\\
21 0\\
22 0\\
23 0\\
24 0\\
25 0\\
26 0\\
27 0\\
28 0\\
29 0\\
30 0\\
31 0\\
32 0\\
33 0\\
34 0\\
35 0\\
36 0\\
37 0\\
38 0\\
39 0\\
40 0\\
};
\addlegendentry{MLSE 2Lw: 0.5 MHz}
\addplot [color=mycolor4, mark size=2.5pt, mark=*, mark options={solid, mycolor4}]
table[row sep=crcr]{%
15 0\\
16 0\\
17 0\\
18 0\\
19 0\\
20 0\\
21 0\\
22 0\\
23 0\\
24 0\\
25 0\\
26 0\\
27 0\\
28 0\\
29 0\\
30 0\\
31 0\\
32 0\\
33 0\\
34 0\\
35 0\\
36 0\\
37 0\\
38 0\\
39 0\\
40 0\\
};
\addlegendentry{MLSE 3Lw: 0.5 MHz}
\addplot [color=white!15!black, dashed, forget plot]
table[row sep=crcr]{%
15 0.0038\\
40 0.0038\\
};
\end{axis}
\begin{axis}[%
width=1.227\fwidth,
height=1.227\fheight,
at={(-0.16\fwidth,-0.135\fheight)},
scale only axis,
xmin=0,
xmax=1,
ymin=0,
ymax=1,
axis line style={draw=none},
ticks=none,
axis x line*=bottom,
axis y line*=left,
xmajorgrids,
ymajorgrids
]
\end{axis}
\end{tikzpicture}%