feat(matlab): x-axis padding, batch 4
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
@@ -45,6 +45,7 @@ set(gca, 'XTick', xd, 'XTickLabel', {}, 'Position', [0.2 0.30 0.60 0.60], ...
|
|||||||
'FontName', 'Arial', 'FontSize', 13, 'LineWidth', 1.5, 'Box', 'off', 'TickDir', 'out');
|
'FontName', 'Arial', 'FontSize', 13, 'LineWidth', 1.5, 'Box', 'off', 'TickDir', 'out');
|
||||||
xticklabels('auto')
|
xticklabels('auto')
|
||||||
set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate)
|
set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate)
|
||||||
|
xlim([min(xd) - 0.5, max(xd) + 0.5]); % half-day padding so points aren't on the edges
|
||||||
if strcmp(metric, 'count') % success count: y-ticks every 5 units
|
if strcmp(metric, 'count') % success count: y-ticks every 5 units
|
||||||
yl = ylim(gca);
|
yl = ylim(gca);
|
||||||
set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5);
|
set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5);
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
@@ -45,6 +45,7 @@ set(gca, 'XTick', xd, 'XTickLabel', {}, 'Position', [0.2 0.30 0.60 0.60], ...
|
|||||||
'FontName', 'Arial', 'FontSize', 13, 'LineWidth', 1.5, 'Box', 'off', 'TickDir', 'out');
|
'FontName', 'Arial', 'FontSize', 13, 'LineWidth', 1.5, 'Box', 'off', 'TickDir', 'out');
|
||||||
xticklabels('auto')
|
xticklabels('auto')
|
||||||
set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate)
|
set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate)
|
||||||
|
xlim([min(xd) - 0.5, max(xd) + 0.5]); % half-day padding so points aren't on the edges
|
||||||
if strcmp(metric, 'count') % success count: y-ticks every 5 units
|
if strcmp(metric, 'count') % success count: y-ticks every 5 units
|
||||||
yl = ylim(gca);
|
yl = ylim(gca);
|
||||||
set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5);
|
set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5);
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
@@ -45,6 +45,7 @@ set(gca, 'XTick', xd, 'XTickLabel', {}, 'Position', [0.2 0.30 0.60 0.60], ...
|
|||||||
'FontName', 'Arial', 'FontSize', 13, 'LineWidth', 1.5, 'Box', 'off', 'TickDir', 'out');
|
'FontName', 'Arial', 'FontSize', 13, 'LineWidth', 1.5, 'Box', 'off', 'TickDir', 'out');
|
||||||
xticklabels('auto')
|
xticklabels('auto')
|
||||||
set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate)
|
set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate)
|
||||||
|
xlim([min(xd) - 0.5, max(xd) + 0.5]); % half-day padding so points aren't on the edges
|
||||||
if strcmp(metric, 'count') % success count: y-ticks every 5 units
|
if strcmp(metric, 'count') % success count: y-ticks every 5 units
|
||||||
yl = ylim(gca);
|
yl = ylim(gca);
|
||||||
set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5);
|
set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5);
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
@@ -45,6 +45,7 @@ set(gca, 'XTick', xd, 'XTickLabel', {}, 'Position', [0.2 0.30 0.60 0.60], ...
|
|||||||
'FontName', 'Arial', 'FontSize', 13, 'LineWidth', 1.5, 'Box', 'off', 'TickDir', 'out');
|
'FontName', 'Arial', 'FontSize', 13, 'LineWidth', 1.5, 'Box', 'off', 'TickDir', 'out');
|
||||||
xticklabels('auto')
|
xticklabels('auto')
|
||||||
set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate)
|
set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate)
|
||||||
|
xlim([min(xd) - 0.5, max(xd) + 0.5]); % half-day padding so points aren't on the edges
|
||||||
if strcmp(metric, 'count') % success count: y-ticks every 5 units
|
if strcmp(metric, 'count') % success count: y-ticks every 5 units
|
||||||
yl = ylim(gca);
|
yl = ylim(gca);
|
||||||
set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5);
|
set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5);
|
||||||
|
|||||||