196 lines
4.7 KiB
TeX
196 lines
4.7 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.00059902281148318,
|
|
ymax=0.166016828200258,
|
|
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, line width=2.0pt, mark size=2.5pt, mark=*, mark options={solid, mycolor1}]
|
|
table[row sep=crcr]{%
|
|
15 0.16008493969837\\
|
|
16 0.148018710347294\\
|
|
17 0.135397560154044\\
|
|
18 0.118006452083384\\
|
|
19 0.094911952328202\\
|
|
20 0.0850855474026718\\
|
|
21 0.0778479628015516\\
|
|
22 0.0688008084203508\\
|
|
23 0.0471981359104626\\
|
|
24 0.0323975844622164\\
|
|
25 0.0267066941233258\\
|
|
26 0.0216530251520129\\
|
|
27 0.0173115856220635\\
|
|
28 0.0136604981786234\\
|
|
29 0.010617115036688\\
|
|
30 0.00803767072150127\\
|
|
31 0.00594925148193035\\
|
|
32 0.00430393549305654\\
|
|
33 0.00307915088082398\\
|
|
34 0.0022804537988464\\
|
|
35 0.00167379127614431\\
|
|
36 0.00127305369675208\\
|
|
37 0.00100184394848057\\
|
|
38 0.000819185398428303\\
|
|
39 0.000686879490500714\\
|
|
40 0.00059902281148318\\
|
|
};
|
|
\addlegendentry{VNLE Lw: 0.5 MHz}
|
|
|
|
\addplot [color=mycolor2, line width=2.0pt, mark size=2.5pt, mark=*, mark options={solid, mycolor2}]
|
|
table[row sep=crcr]{%
|
|
15 0.166016828200258\\
|
|
16 0.153631814535592\\
|
|
17 0.139560160989551\\
|
|
18 0.1207188968257\\
|
|
19 0.0955255600429213\\
|
|
20 0.0862474780271488\\
|
|
21 0.0794370227350861\\
|
|
22 0.0710753588059826\\
|
|
23 0.0479850261660109\\
|
|
24 0.0336824449853977\\
|
|
25 0.0294278203556633\\
|
|
26 0.0260795432841729\\
|
|
27 0.0232222912882984\\
|
|
28 0.0207911268226788\\
|
|
29 0.0185690126367769\\
|
|
30 0.016517750174498\\
|
|
31 0.0147147783268338\\
|
|
32 0.0131875306022523\\
|
|
33 0.0116262514367866\\
|
|
34 0.0100031600623678\\
|
|
35 0.00841236383082901\\
|
|
36 0.00697852893887884\\
|
|
37 0.00572492177977491\\
|
|
38 0.00470189499564189\\
|
|
39 0.00391639377849699\\
|
|
40 0.00331771822661467\\
|
|
};
|
|
\addlegendentry{MLSE 1 Lw: 0.5 MHz}
|
|
|
|
\addplot [color=mycolor3, line width=2.0pt, mark size=2.5pt, mark=*, mark options={solid, mycolor3}]
|
|
table[row sep=crcr]{%
|
|
15 0.163486347488792\\
|
|
16 0.149813695224139\\
|
|
17 0.13425299250961\\
|
|
18 0.112261041987158\\
|
|
19 0.082994350086294\\
|
|
20 0.0737412707617834\\
|
|
21 0.0671634794022968\\
|
|
22 0.0587726456667211\\
|
|
23 0.0332261458698679\\
|
|
24 0.018219322218711\\
|
|
25 0.0151498946067111\\
|
|
26 0.0126402494712973\\
|
|
27 0.0107778962318861\\
|
|
28 0.00934718667634363\\
|
|
29 0.00803975427910643\\
|
|
30 0.00699832273612785\\
|
|
31 0.00608711354347169\\
|
|
32 0.00526619184703909\\
|
|
33 0.00455535144407905\\
|
|
34 0.00383096791668548\\
|
|
35 0.00322361087478166\\
|
|
36 0.00270202695429022\\
|
|
37 0.00228288461605242\\
|
|
38 0.00194291746681066\\
|
|
39 0.001689417958183\\
|
|
40 0.00148696561088173\\
|
|
};
|
|
\addlegendentry{MLSE 2Lw: 0.5 MHz}
|
|
|
|
\addplot [color=mycolor4, line width=2.0pt, mark size=2.5pt, mark=*, mark options={solid, mycolor4}]
|
|
table[row sep=crcr]{%
|
|
15 0.162657786081141\\
|
|
16 0.149052154919453\\
|
|
17 0.132976813476451\\
|
|
18 0.110511548118027\\
|
|
19 0.0810816442047581\\
|
|
20 0.0724869690834777\\
|
|
21 0.0664040226552164\\
|
|
22 0.0584625428431533\\
|
|
23 0.0322850723515378\\
|
|
24 0.0174209723963343\\
|
|
25 0.0144234275217124\\
|
|
26 0.0121558223280978\\
|
|
27 0.0104094537953738\\
|
|
28 0.0090009688542864\\
|
|
29 0.00785779024825589\\
|
|
30 0.00695804062242811\\
|
|
31 0.00612739565717143\\
|
|
32 0.00542141688862343\\
|
|
33 0.00476127638738892\\
|
|
34 0.00410460848216301\\
|
|
35 0.0034833610562248\\
|
|
36 0.00294163607888349\\
|
|
37 0.00248498970375283\\
|
|
38 0.00212522875726207\\
|
|
39 0.00179637391524782\\
|
|
40 0.00153523469540124\\
|
|
};
|
|
\addlegendentry{MLSE 3Lw: 0.5 MHz}
|
|
|
|
\addplot [color=white!15!black, dashed, forget plot]
|
|
table[row sep=crcr]{%
|
|
15 0.0038\\
|
|
40 0.0038\\
|
|
};
|
|
\addplot [color=white!15!black, dashed, forget plot]
|
|
table[row sep=crcr]{%
|
|
15 0.0038\\
|
|
40 0.0038\\
|
|
};
|
|
\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}% |