ML_MLSE (before testing in depth)

minor changes here and there
This commit is contained in:
Silas Oettinghaus
2025-10-31 10:36:13 +01:00
parent b27f1d3715
commit 09f345aa91
7 changed files with 583 additions and 158 deletions

View File

@@ -1,4 +1,7 @@
function beautifyBERplot()
function beautifyBERplot(options)
arguments
options.logscale = 1
end
% BEAUTIFYBERPLOT Enhances a BER plot for publication-quality figures.
% Set line properties for all current plot lines
@@ -26,8 +29,10 @@ function beautifyBERplot()
% Set logarithmic scale for y-axis, but only if it makes sense.
% If this is not always desired, you could condition this on the presence of lines or data.
set(gca, 'YScale', 'log');
if options.logscale
set(gca, 'YScale', 'log');
end
% Customize grid and box appearance
set(gca, 'Box', 'on', 'LineWidth', 0.8); % Thicker border
grid on;