fix(matlab): vertical x-axis plots, batch 2
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
@@ -38,8 +38,9 @@ legend([e1 e2], {sprintf('anodal, N = %d', na), sprintf('control, N = %d', nc)},
|
||||
'Location', 'northwest', 'Box', 'off');
|
||||
xlabel('training day'); ylabel(ylab);
|
||||
title(vname, 'Interpreter', 'none');
|
||||
set(gca, 'XTick', xd, 'FontName', 'Arial', 'FontSize', 13, 'LineWidth', 1.5, 'Box', 'off');
|
||||
xtickangle(90); % vertical x-axis tick labels
|
||||
set(gca, 'XTick', xd, 'XTickLabelRotation', 90, ... % vertical x-axis tick labels
|
||||
'FontName', 'Arial', 'FontSize', 13, 'LineWidth', 1.5, 'Box', 'off');
|
||||
drawnow; % force layout so the rotation is applied headless
|
||||
exportgraphics(fig, outFile, 'Resolution', 150);
|
||||
close(fig);
|
||||
fprintf('%s: wrote %s (anodal N=%d, control N=%d)\n', vname, outFile, na, nc);
|
||||
|
||||
Reference in New Issue
Block a user