ML_MLSE (before testing in depth)
minor changes here and there
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user