Move order of figures

This commit is contained in:
2026-05-02 11:38:04 +02:00
parent 7e18985b86
commit 0848e5dea6

View File

@@ -1448,19 +1448,26 @@ though the process is less global.
width=\figwidth, width=\figwidth,
height=\figheight, height=\figheight,
ymode=log, ymode=log,
% xmode=log,
legend style={ legend style={
cells={anchor=west}, cells={anchor=west},
cells={align=left}, cells={align=left},
}, },
enlargelimits=false, enlargelimits=false,
ymin=1e-5, ymax=2e-1, ymin=1e-3, ymax=1e-1,
grid=both, grid=both,
legend pos = south east, legend pos = north east,
xtick={0.001,0.0015,...,0.004}, xtick={32,512,1024,2048,4096},
% xtick={0.001,0.0015,...,0.004},
xticklabels =
{$32$,$512$,$1{,}024$,,$2{,}048$,,$3{,}072$,,$4{,}096$},
xtick={32, 512, 1024, 1536, 2048, 2560, 3072, 3584, 4096},
xticklabel style={/pgf/number format/fixed}, xticklabel style={/pgf/number format/fixed},
xticklabel style={/pgf/number format/precision=4}, xticklabel style={/pgf/number format/precision=4},
% x tick label style={rotate=45, anchor=north east,
% inner sep=1mm},
scaled x ticks=false, scaled x ticks=false,
xlabel={Physical error rate}, xlabel={Number of BP iterations},
ylabel={Per-round-LER}, ylabel={Per-round-LER},
extra description/.code={ extra description/.code={
\node[rotate=90, anchor=south] \node[rotate=90, anchor=south]
@@ -1469,37 +1476,44 @@ though the process is less global.
}, },
] ]
\foreach \F/\col/\mark in \foreach \W/\col/\mark in
{3/KITred/triangle,2/KITblue/diamond,1/KITorange/square} { {3/KITred/triangle,4/KITblue/diamond,5/KITorange/square} {
\edef\temp{\noexpand \edef\temp{\noexpand
\addplot+[ \addplot+[mark=\mark, densely dashed,
mark=\mark, densely dashed, mark options={fill=\col}, forget plot, \col]
\col, forget plot
]
table[ table[
col sep=comma, x=physical_p, col sep=comma, x=max_iter,
y=LER_per_round, y=LER_per_round,
] ]
{res/sim/WF/WindowingSyndromeMinSumDecoder/max_iter_200/pass_soft_info_False/F_\F/W_5/LERs.csv}; {res/sim/max_iter/WindowingSyndromeMinSumDecoder/p_0.0025/pass_soft_info_False/F_1/W_\W/LERs.csv};
} }
\temp \temp
} }
\foreach \F/\col/\mark in \foreach \W/\col/\mark in
{3/KITred/triangle*,2/KITblue/diamond*,1/KITorange/square*} { {3/KITred/triangle*,4/KITblue/diamond*,5/KITorange/square*} {
\edef\temp{\noexpand \edef\temp{\noexpand
\addplot+[mark=\mark, solid, mark \addplot+[mark=\mark, solid, mark
options={fill=\col}, \col] options={fill=\col}, \col]
table[ table[
col sep=comma, x=physical_p, col sep=comma, x=max_iter,
y=LER_per_round, y=LER_per_round,
] ]
{res/sim/WF/WindowingSyndromeMinSumDecoder/max_iter_200/pass_soft_info_True/F_\F/W_5/LERs.csv}; {res/sim/max_iter/WindowingSyndromeMinSumDecoder/p_0.0025/pass_soft_info_True/F_1/W_\W/LERs.csv};
} }
\temp \temp
\addlegendentryexpanded{$F = \F$} \addlegendentryexpanded{$W = \W$}
} }
\addplot+[mark=*, solid, mark options={fill=black}, black]
table[
col sep=comma, x=max_iter,
y=LER_per_round,
]
{res/sim/max_iter/SyndromeMinSumDecoder/p_0.0025/LERs.csv};
\addlegendentry{Whole}
\end{axis} \end{axis}
\end{tikzpicture} \end{tikzpicture}
@@ -1519,32 +1533,27 @@ though the process is less global.
\centering \centering
\begin{subfigure}{0.48\textwidth} \begin{subfigure}{0.48\textwidth}
\centering \centering
\hspace*{-6mm} \hspace*{-7mm}
\begin{tikzpicture} \begin{tikzpicture}
\begin{axis}[ \begin{axis}[
width=8cm, width=8cm,
height=6cm, height=6cm,
ymode=log, ymode=log,
% xmode=log,
legend style={ legend style={
cells={anchor=west}, cells={anchor=west},
cells={align=left}, cells={align=left},
}, },
enlargelimits=false, enlargelimits=false,
ymin=1e-3, ymax=1e-1, ymin=1e-5, ymax=2e-1,
grid=both, grid=both,
legend pos = north east, legend pos = south east,
xtick={32,512,1024,2048,4096}, xtick={0.001,0.0015,...,0.004},
% xtick={0.001,0.0015,...,0.004},
xticklabels =
{$32$,$512$,$1{,}024$,,$2{,}048$,,$3{,}072$,,$4{,}096$},
xtick={32, 512, 1024, 1536, 2048, 2560, 3072, 3584, 4096},
xticklabel style={/pgf/number format/fixed}, xticklabel style={/pgf/number format/fixed},
xticklabel style={/pgf/number format/precision=4}, xticklabel style={/pgf/number format/precision=4},
x tick label style={rotate=45, anchor=north east, x tick label style={rotate=45, anchor=north east,
inner sep=1mm}, inner sep=1mm},
scaled x ticks=false, scaled x ticks=false,
xlabel={Number of BP iterations}, xlabel={Physical error rate},
ylabel={Per-round-LER}, ylabel={Per-round-LER},
% extra description/.code={ % extra description/.code={
% \node[rotate=90, anchor=south] % \node[rotate=90, anchor=south]
@@ -1553,44 +1562,38 @@ though the process is less global.
% }, % },
] ]
\foreach \W/\col/\mark in \foreach \F/\col/\mark in
{3/KITred/triangle,4/KITblue/diamond,5/KITorange/square} { {3/KITred/triangle,2/KITblue/diamond,1/KITorange/square} {
\edef\temp{\noexpand \edef\temp{\noexpand
\addplot+[mark=\mark, densely dashed, \addplot+[
forget plot, \col] mark=\mark, densely dashed, mark
options={fill=\col},
\col, forget plot
]
table[ table[
col sep=comma, x=max_iter, col sep=comma, x=physical_p,
y=LER_per_round, y=LER_per_round,
] ]
{res/sim/max_iter/WindowingSyndromeMinSumDecoder/p_0.0025/pass_soft_info_False/F_1/W_\W/LERs.csv}; {res/sim/WF/WindowingSyndromeMinSumDecoder/max_iter_200/pass_soft_info_False/F_\F/W_5/LERs.csv};
} }
\temp \temp
} }
\foreach \W/\col/\mark in \foreach \F/\col/\mark in
{3/KITred/triangle*,4/KITblue/diamond*,5/KITorange/square*} { {3/KITred/triangle*,2/KITblue/diamond*,1/KITorange/square*} {
\edef\temp{\noexpand \edef\temp{\noexpand
\addplot+[mark=\mark, solid, mark \addplot+[mark=\mark, solid, mark
options={fill=\col}, \col] options={fill=\col}, \col]
table[ table[
col sep=comma, x=max_iter, col sep=comma, x=physical_p,
y=LER_per_round, y=LER_per_round,
] ]
{res/sim/max_iter/WindowingSyndromeMinSumDecoder/p_0.0025/pass_soft_info_True/F_1/W_\W/LERs.csv}; {res/sim/WF/WindowingSyndromeMinSumDecoder/max_iter_200/pass_soft_info_True/F_\F/W_5/LERs.csv};
} }
\temp \temp
\addlegendentryexpanded{$W = \W$} \addlegendentryexpanded{$F = \F$}
} }
\addplot+[mark=*, solid, mark options={fill=black}, black]
table[
col sep=comma, x=max_iter,
y=LER_per_round,
]
{res/sim/max_iter/SyndromeMinSumDecoder/p_0.0025/LERs.csv};
\addlegendentry{Whole}
\end{axis} \end{axis}
\end{tikzpicture} \end{tikzpicture}
@@ -1599,6 +1602,7 @@ though the process is less global.
\hfill% \hfill%
\begin{subfigure}{0.48\textwidth} \begin{subfigure}{0.48\textwidth}
\centering \centering
\hspace*{-3mm}
\begin{tikzpicture} \begin{tikzpicture}
\begin{axis}[ \begin{axis}[
width=8cm, width=8cm,
@@ -1624,7 +1628,7 @@ though the process is less global.
inner sep=1mm}, inner sep=1mm},
scaled x ticks=false, scaled x ticks=false,
xlabel={Number of BP iterations}, xlabel={Number of BP iterations},
yticklabels={\empty}, % yticklabels={\empty},
% ylabel={Per-round-LER}, % ylabel={Per-round-LER},
extra description/.code={ extra description/.code={
\node[rotate=90, anchor=south] \node[rotate=90, anchor=south]
@@ -1664,6 +1668,7 @@ though the process is less global.
} }
\end{axis} \end{axis}
\end{tikzpicture} \end{tikzpicture}
\vspace{-3.2mm}
\caption{Comparison of step sizes for $W=5$.} \caption{Comparison of step sizes for $W=5$.}
\end{subfigure} \end{subfigure}