diff --git a/analysis/matlab/variations/boxa_a2_d0_10/learning_curve.png b/analysis/matlab/variations/boxa_a2_d0_10/learning_curve.png index 81855c1..53bc1bb 100644 Binary files a/analysis/matlab/variations/boxa_a2_d0_10/learning_curve.png and b/analysis/matlab/variations/boxa_a2_d0_10/learning_curve.png differ diff --git a/analysis/matlab/variations/boxa_a2_d0_10/learning_curve_rate.png b/analysis/matlab/variations/boxa_a2_d0_10/learning_curve_rate.png index 66de712..e92743b 100644 Binary files a/analysis/matlab/variations/boxa_a2_d0_10/learning_curve_rate.png and b/analysis/matlab/variations/boxa_a2_d0_10/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/boxa_a2_d0_10/plotcurve.m b/analysis/matlab/variations/boxa_a2_d0_10/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/boxa_a2_d0_10/plotcurve.m +++ b/analysis/matlab/variations/boxa_a2_d0_10/plotcurve.m @@ -36,7 +36,7 @@ e2 = errorbar(xd, Mc, Sc, '-o', 'Color', blue, 'MarkerFaceColor', blue, 'LineWid hold off legend([e1 e2], {sprintf('anodal, N = %d', na), sprintf('control, N = %d', nc)}, ... 'Location', 'northwest', 'Box', 'off'); -xlabel('training day'); ylabel(ylab); +xlabel('training day'); ylh = ylabel(ylab); title(vname, 'Interpreter', 'none'); % Compact publication layout with a tight centred plot box and ticks pointing % out. Setting XTickLabel {} then xticklabels('auto') resets the labels cleanly @@ -44,11 +44,16 @@ title(vname, 'Interpreter', 'none'); 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'); xticklabels('auto') +set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate) if strcmp(metric, 'count') % success count: y-ticks every 5 units yl = ylim(gca); set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5); end grid on +% Add breathing room between the y-axis label and the tick numbers. +set(ylh, 'Units', 'normalized'); +yp = get(ylh, 'Position'); +set(ylh, 'Position', [yp(1) - 0.06, yp(2), 0]); drawnow; exportgraphics(fig, outFile, 'Resolution', 150); close(fig); diff --git a/analysis/matlab/variations/boxa_a2_d0_5/learning_curve.png b/analysis/matlab/variations/boxa_a2_d0_5/learning_curve.png index 90ac159..b9f7a06 100644 Binary files a/analysis/matlab/variations/boxa_a2_d0_5/learning_curve.png and b/analysis/matlab/variations/boxa_a2_d0_5/learning_curve.png differ diff --git a/analysis/matlab/variations/boxa_a2_d0_5/learning_curve_rate.png b/analysis/matlab/variations/boxa_a2_d0_5/learning_curve_rate.png index 3b2a579..85c107d 100644 Binary files a/analysis/matlab/variations/boxa_a2_d0_5/learning_curve_rate.png and b/analysis/matlab/variations/boxa_a2_d0_5/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/boxa_a2_d0_5/plotcurve.m b/analysis/matlab/variations/boxa_a2_d0_5/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/boxa_a2_d0_5/plotcurve.m +++ b/analysis/matlab/variations/boxa_a2_d0_5/plotcurve.m @@ -36,7 +36,7 @@ e2 = errorbar(xd, Mc, Sc, '-o', 'Color', blue, 'MarkerFaceColor', blue, 'LineWid hold off legend([e1 e2], {sprintf('anodal, N = %d', na), sprintf('control, N = %d', nc)}, ... 'Location', 'northwest', 'Box', 'off'); -xlabel('training day'); ylabel(ylab); +xlabel('training day'); ylh = ylabel(ylab); title(vname, 'Interpreter', 'none'); % Compact publication layout with a tight centred plot box and ticks pointing % out. Setting XTickLabel {} then xticklabels('auto') resets the labels cleanly @@ -44,11 +44,16 @@ title(vname, 'Interpreter', 'none'); 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'); xticklabels('auto') +set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate) if strcmp(metric, 'count') % success count: y-ticks every 5 units yl = ylim(gca); set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5); end grid on +% Add breathing room between the y-axis label and the tick numbers. +set(ylh, 'Units', 'normalized'); +yp = get(ylh, 'Position'); +set(ylh, 'Position', [yp(1) - 0.06, yp(2), 0]); drawnow; exportgraphics(fig, outFile, 'Resolution', 150); close(fig); diff --git a/analysis/matlab/variations/boxa_a2_d6_10/learning_curve.png b/analysis/matlab/variations/boxa_a2_d6_10/learning_curve.png index a625463..440330c 100644 Binary files a/analysis/matlab/variations/boxa_a2_d6_10/learning_curve.png and b/analysis/matlab/variations/boxa_a2_d6_10/learning_curve.png differ diff --git a/analysis/matlab/variations/boxa_a2_d6_10/learning_curve_rate.png b/analysis/matlab/variations/boxa_a2_d6_10/learning_curve_rate.png index e1441e3..06f788f 100644 Binary files a/analysis/matlab/variations/boxa_a2_d6_10/learning_curve_rate.png and b/analysis/matlab/variations/boxa_a2_d6_10/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/boxa_a2_d6_10/plotcurve.m b/analysis/matlab/variations/boxa_a2_d6_10/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/boxa_a2_d6_10/plotcurve.m +++ b/analysis/matlab/variations/boxa_a2_d6_10/plotcurve.m @@ -36,7 +36,7 @@ e2 = errorbar(xd, Mc, Sc, '-o', 'Color', blue, 'MarkerFaceColor', blue, 'LineWid hold off legend([e1 e2], {sprintf('anodal, N = %d', na), sprintf('control, N = %d', nc)}, ... 'Location', 'northwest', 'Box', 'off'); -xlabel('training day'); ylabel(ylab); +xlabel('training day'); ylh = ylabel(ylab); title(vname, 'Interpreter', 'none'); % Compact publication layout with a tight centred plot box and ticks pointing % out. Setting XTickLabel {} then xticklabels('auto') resets the labels cleanly @@ -44,11 +44,16 @@ title(vname, 'Interpreter', 'none'); 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'); xticklabels('auto') +set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate) if strcmp(metric, 'count') % success count: y-ticks every 5 units yl = ylim(gca); set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5); end grid on +% Add breathing room between the y-axis label and the tick numbers. +set(ylh, 'Units', 'normalized'); +yp = get(ylh, 'Position'); +set(ylh, 'Position', [yp(1) - 0.06, yp(2), 0]); drawnow; exportgraphics(fig, outFile, 'Resolution', 150); close(fig); diff --git a/analysis/matlab/variations/boxa_b2_d0_10/learning_curve.png b/analysis/matlab/variations/boxa_b2_d0_10/learning_curve.png index 93e813c..30e5647 100644 Binary files a/analysis/matlab/variations/boxa_b2_d0_10/learning_curve.png and b/analysis/matlab/variations/boxa_b2_d0_10/learning_curve.png differ diff --git a/analysis/matlab/variations/boxa_b2_d0_10/learning_curve_rate.png b/analysis/matlab/variations/boxa_b2_d0_10/learning_curve_rate.png index 5f00b26..fbe3143 100644 Binary files a/analysis/matlab/variations/boxa_b2_d0_10/learning_curve_rate.png and b/analysis/matlab/variations/boxa_b2_d0_10/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/boxa_b2_d0_10/plotcurve.m b/analysis/matlab/variations/boxa_b2_d0_10/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/boxa_b2_d0_10/plotcurve.m +++ b/analysis/matlab/variations/boxa_b2_d0_10/plotcurve.m @@ -36,7 +36,7 @@ e2 = errorbar(xd, Mc, Sc, '-o', 'Color', blue, 'MarkerFaceColor', blue, 'LineWid hold off legend([e1 e2], {sprintf('anodal, N = %d', na), sprintf('control, N = %d', nc)}, ... 'Location', 'northwest', 'Box', 'off'); -xlabel('training day'); ylabel(ylab); +xlabel('training day'); ylh = ylabel(ylab); title(vname, 'Interpreter', 'none'); % Compact publication layout with a tight centred plot box and ticks pointing % out. Setting XTickLabel {} then xticklabels('auto') resets the labels cleanly @@ -44,11 +44,16 @@ title(vname, 'Interpreter', 'none'); 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'); xticklabels('auto') +set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate) if strcmp(metric, 'count') % success count: y-ticks every 5 units yl = ylim(gca); set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5); end grid on +% Add breathing room between the y-axis label and the tick numbers. +set(ylh, 'Units', 'normalized'); +yp = get(ylh, 'Position'); +set(ylh, 'Position', [yp(1) - 0.06, yp(2), 0]); drawnow; exportgraphics(fig, outFile, 'Resolution', 150); close(fig); diff --git a/analysis/matlab/variations/boxa_b2_d0_5/learning_curve.png b/analysis/matlab/variations/boxa_b2_d0_5/learning_curve.png index f937ee0..7304ff4 100644 Binary files a/analysis/matlab/variations/boxa_b2_d0_5/learning_curve.png and b/analysis/matlab/variations/boxa_b2_d0_5/learning_curve.png differ diff --git a/analysis/matlab/variations/boxa_b2_d0_5/learning_curve_rate.png b/analysis/matlab/variations/boxa_b2_d0_5/learning_curve_rate.png index f65ed4a..f7c155e 100644 Binary files a/analysis/matlab/variations/boxa_b2_d0_5/learning_curve_rate.png and b/analysis/matlab/variations/boxa_b2_d0_5/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/boxa_b2_d0_5/plotcurve.m b/analysis/matlab/variations/boxa_b2_d0_5/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/boxa_b2_d0_5/plotcurve.m +++ b/analysis/matlab/variations/boxa_b2_d0_5/plotcurve.m @@ -36,7 +36,7 @@ e2 = errorbar(xd, Mc, Sc, '-o', 'Color', blue, 'MarkerFaceColor', blue, 'LineWid hold off legend([e1 e2], {sprintf('anodal, N = %d', na), sprintf('control, N = %d', nc)}, ... 'Location', 'northwest', 'Box', 'off'); -xlabel('training day'); ylabel(ylab); +xlabel('training day'); ylh = ylabel(ylab); title(vname, 'Interpreter', 'none'); % Compact publication layout with a tight centred plot box and ticks pointing % out. Setting XTickLabel {} then xticklabels('auto') resets the labels cleanly @@ -44,11 +44,16 @@ title(vname, 'Interpreter', 'none'); 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'); xticklabels('auto') +set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate) if strcmp(metric, 'count') % success count: y-ticks every 5 units yl = ylim(gca); set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5); end grid on +% Add breathing room between the y-axis label and the tick numbers. +set(ylh, 'Units', 'normalized'); +yp = get(ylh, 'Position'); +set(ylh, 'Position', [yp(1) - 0.06, yp(2), 0]); drawnow; exportgraphics(fig, outFile, 'Resolution', 150); close(fig); diff --git a/analysis/matlab/variations/boxa_b2_d6_10/learning_curve.png b/analysis/matlab/variations/boxa_b2_d6_10/learning_curve.png index 96c246d..5639136 100644 Binary files a/analysis/matlab/variations/boxa_b2_d6_10/learning_curve.png and b/analysis/matlab/variations/boxa_b2_d6_10/learning_curve.png differ diff --git a/analysis/matlab/variations/boxa_b2_d6_10/learning_curve_rate.png b/analysis/matlab/variations/boxa_b2_d6_10/learning_curve_rate.png index a21435d..4c42196 100644 Binary files a/analysis/matlab/variations/boxa_b2_d6_10/learning_curve_rate.png and b/analysis/matlab/variations/boxa_b2_d6_10/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/boxa_b2_d6_10/plotcurve.m b/analysis/matlab/variations/boxa_b2_d6_10/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/boxa_b2_d6_10/plotcurve.m +++ b/analysis/matlab/variations/boxa_b2_d6_10/plotcurve.m @@ -36,7 +36,7 @@ e2 = errorbar(xd, Mc, Sc, '-o', 'Color', blue, 'MarkerFaceColor', blue, 'LineWid hold off legend([e1 e2], {sprintf('anodal, N = %d', na), sprintf('control, N = %d', nc)}, ... 'Location', 'northwest', 'Box', 'off'); -xlabel('training day'); ylabel(ylab); +xlabel('training day'); ylh = ylabel(ylab); title(vname, 'Interpreter', 'none'); % Compact publication layout with a tight centred plot box and ticks pointing % out. Setting XTickLabel {} then xticklabels('auto') resets the labels cleanly @@ -44,11 +44,16 @@ title(vname, 'Interpreter', 'none'); 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'); xticklabels('auto') +set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate) if strcmp(metric, 'count') % success count: y-ticks every 5 units yl = ylim(gca); set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5); end grid on +% Add breathing room between the y-axis label and the tick numbers. +set(ylh, 'Units', 'normalized'); +yp = get(ylh, 'Position'); +set(ylh, 'Position', [yp(1) - 0.06, yp(2), 0]); drawnow; exportgraphics(fig, outFile, 'Resolution', 150); close(fig); diff --git a/analysis/matlab/variations/matched_current_d0_3/learning_curve.png b/analysis/matlab/variations/matched_current_d0_3/learning_curve.png index 77700ce..d3f2498 100644 Binary files a/analysis/matlab/variations/matched_current_d0_3/learning_curve.png and b/analysis/matlab/variations/matched_current_d0_3/learning_curve.png differ diff --git a/analysis/matlab/variations/matched_current_d0_3/learning_curve_rate.png b/analysis/matlab/variations/matched_current_d0_3/learning_curve_rate.png index 70c80a8..59adbf3 100644 Binary files a/analysis/matlab/variations/matched_current_d0_3/learning_curve_rate.png and b/analysis/matlab/variations/matched_current_d0_3/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/matched_current_d0_3/plotcurve.m b/analysis/matlab/variations/matched_current_d0_3/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/matched_current_d0_3/plotcurve.m +++ b/analysis/matlab/variations/matched_current_d0_3/plotcurve.m @@ -36,7 +36,7 @@ e2 = errorbar(xd, Mc, Sc, '-o', 'Color', blue, 'MarkerFaceColor', blue, 'LineWid hold off legend([e1 e2], {sprintf('anodal, N = %d', na), sprintf('control, N = %d', nc)}, ... 'Location', 'northwest', 'Box', 'off'); -xlabel('training day'); ylabel(ylab); +xlabel('training day'); ylh = ylabel(ylab); title(vname, 'Interpreter', 'none'); % Compact publication layout with a tight centred plot box and ticks pointing % out. Setting XTickLabel {} then xticklabels('auto') resets the labels cleanly @@ -44,11 +44,16 @@ title(vname, 'Interpreter', 'none'); 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'); xticklabels('auto') +set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate) if strcmp(metric, 'count') % success count: y-ticks every 5 units yl = ylim(gca); set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5); end grid on +% Add breathing room between the y-axis label and the tick numbers. +set(ylh, 'Units', 'normalized'); +yp = get(ylh, 'Position'); +set(ylh, 'Position', [yp(1) - 0.06, yp(2), 0]); drawnow; exportgraphics(fig, outFile, 'Resolution', 150); close(fig); diff --git a/analysis/matlab/variations/naive_a2_d0_10/learning_curve.png b/analysis/matlab/variations/naive_a2_d0_10/learning_curve.png index 6624e85..385321d 100644 Binary files a/analysis/matlab/variations/naive_a2_d0_10/learning_curve.png and b/analysis/matlab/variations/naive_a2_d0_10/learning_curve.png differ diff --git a/analysis/matlab/variations/naive_a2_d0_10/learning_curve_rate.png b/analysis/matlab/variations/naive_a2_d0_10/learning_curve_rate.png index 0feefd9..60028d9 100644 Binary files a/analysis/matlab/variations/naive_a2_d0_10/learning_curve_rate.png and b/analysis/matlab/variations/naive_a2_d0_10/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/naive_a2_d0_10/plotcurve.m b/analysis/matlab/variations/naive_a2_d0_10/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/naive_a2_d0_10/plotcurve.m +++ b/analysis/matlab/variations/naive_a2_d0_10/plotcurve.m @@ -36,7 +36,7 @@ e2 = errorbar(xd, Mc, Sc, '-o', 'Color', blue, 'MarkerFaceColor', blue, 'LineWid hold off legend([e1 e2], {sprintf('anodal, N = %d', na), sprintf('control, N = %d', nc)}, ... 'Location', 'northwest', 'Box', 'off'); -xlabel('training day'); ylabel(ylab); +xlabel('training day'); ylh = ylabel(ylab); title(vname, 'Interpreter', 'none'); % Compact publication layout with a tight centred plot box and ticks pointing % out. Setting XTickLabel {} then xticklabels('auto') resets the labels cleanly @@ -44,11 +44,16 @@ title(vname, 'Interpreter', 'none'); 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'); xticklabels('auto') +set(gca, 'XTickLabelRotation', 0); % keep x labels horizontal (no auto-rotate) if strcmp(metric, 'count') % success count: y-ticks every 5 units yl = ylim(gca); set(gca, 'YTick', floor(yl(1) / 5) * 5 : 5 : ceil(yl(2) / 5) * 5); end grid on +% Add breathing room between the y-axis label and the tick numbers. +set(ylh, 'Units', 'normalized'); +yp = get(ylh, 'Position'); +set(ylh, 'Position', [yp(1) - 0.06, yp(2), 0]); drawnow; exportgraphics(fig, outFile, 'Resolution', 150); close(fig);