diff --git a/analysis/matlab/variations/naive_boxa_d6_13/learning_curve.png b/analysis/matlab/variations/naive_boxa_d6_13/learning_curve.png index 04385c3..f226e58 100644 Binary files a/analysis/matlab/variations/naive_boxa_d6_13/learning_curve.png and b/analysis/matlab/variations/naive_boxa_d6_13/learning_curve.png differ diff --git a/analysis/matlab/variations/naive_boxa_d6_13/learning_curve_rate.png b/analysis/matlab/variations/naive_boxa_d6_13/learning_curve_rate.png index 31bb310..e4693fd 100644 Binary files a/analysis/matlab/variations/naive_boxa_d6_13/learning_curve_rate.png and b/analysis/matlab/variations/naive_boxa_d6_13/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/naive_boxa_d6_13/plotcurve.m b/analysis/matlab/variations/naive_boxa_d6_13/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/naive_boxa_d6_13/plotcurve.m +++ b/analysis/matlab/variations/naive_boxa_d6_13/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/prev_f_full/learning_curve.png b/analysis/matlab/variations/prev_f_full/learning_curve.png index 93a8ec8..7fb5d07 100644 Binary files a/analysis/matlab/variations/prev_f_full/learning_curve.png and b/analysis/matlab/variations/prev_f_full/learning_curve.png differ diff --git a/analysis/matlab/variations/prev_f_full/learning_curve_rate.png b/analysis/matlab/variations/prev_f_full/learning_curve_rate.png index a124d92..cd7eb2a 100644 Binary files a/analysis/matlab/variations/prev_f_full/learning_curve_rate.png and b/analysis/matlab/variations/prev_f_full/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/prev_f_full/plotcurve.m b/analysis/matlab/variations/prev_f_full/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/prev_f_full/plotcurve.m +++ b/analysis/matlab/variations/prev_f_full/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/right_only_d0_10/learning_curve.png b/analysis/matlab/variations/right_only_d0_10/learning_curve.png index 38c508e..f7e32f3 100644 Binary files a/analysis/matlab/variations/right_only_d0_10/learning_curve.png and b/analysis/matlab/variations/right_only_d0_10/learning_curve.png differ diff --git a/analysis/matlab/variations/right_only_d0_10/learning_curve_rate.png b/analysis/matlab/variations/right_only_d0_10/learning_curve_rate.png index 6b33e5e..8221f1b 100644 Binary files a/analysis/matlab/variations/right_only_d0_10/learning_curve_rate.png and b/analysis/matlab/variations/right_only_d0_10/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/right_only_d0_10/plotcurve.m b/analysis/matlab/variations/right_only_d0_10/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/right_only_d0_10/plotcurve.m +++ b/analysis/matlab/variations/right_only_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/right_only_d0_13/learning_curve.png b/analysis/matlab/variations/right_only_d0_13/learning_curve.png index 9476936..40d921b 100644 Binary files a/analysis/matlab/variations/right_only_d0_13/learning_curve.png and b/analysis/matlab/variations/right_only_d0_13/learning_curve.png differ diff --git a/analysis/matlab/variations/right_only_d0_13/learning_curve_rate.png b/analysis/matlab/variations/right_only_d0_13/learning_curve_rate.png index baae13f..65bcc9d 100644 Binary files a/analysis/matlab/variations/right_only_d0_13/learning_curve_rate.png and b/analysis/matlab/variations/right_only_d0_13/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/right_only_d0_13/plotcurve.m b/analysis/matlab/variations/right_only_d0_13/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/right_only_d0_13/plotcurve.m +++ b/analysis/matlab/variations/right_only_d0_13/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/right_only_d0_5/learning_curve.png b/analysis/matlab/variations/right_only_d0_5/learning_curve.png index 2643bbf..0417b0b 100644 Binary files a/analysis/matlab/variations/right_only_d0_5/learning_curve.png and b/analysis/matlab/variations/right_only_d0_5/learning_curve.png differ diff --git a/analysis/matlab/variations/right_only_d0_5/learning_curve_rate.png b/analysis/matlab/variations/right_only_d0_5/learning_curve_rate.png index 96f695f..59ee3aa 100644 Binary files a/analysis/matlab/variations/right_only_d0_5/learning_curve_rate.png and b/analysis/matlab/variations/right_only_d0_5/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/right_only_d0_5/plotcurve.m b/analysis/matlab/variations/right_only_d0_5/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/right_only_d0_5/plotcurve.m +++ b/analysis/matlab/variations/right_only_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/right_only_d6_10/learning_curve.png b/analysis/matlab/variations/right_only_d6_10/learning_curve.png index e295230..874dd12 100644 Binary files a/analysis/matlab/variations/right_only_d6_10/learning_curve.png and b/analysis/matlab/variations/right_only_d6_10/learning_curve.png differ diff --git a/analysis/matlab/variations/right_only_d6_10/learning_curve_rate.png b/analysis/matlab/variations/right_only_d6_10/learning_curve_rate.png index 69fe61e..e31ffe2 100644 Binary files a/analysis/matlab/variations/right_only_d6_10/learning_curve_rate.png and b/analysis/matlab/variations/right_only_d6_10/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/right_only_d6_10/plotcurve.m b/analysis/matlab/variations/right_only_d6_10/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/right_only_d6_10/plotcurve.m +++ b/analysis/matlab/variations/right_only_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/right_only_d6_13/learning_curve.png b/analysis/matlab/variations/right_only_d6_13/learning_curve.png index 40462e7..981b0ba 100644 Binary files a/analysis/matlab/variations/right_only_d6_13/learning_curve.png and b/analysis/matlab/variations/right_only_d6_13/learning_curve.png differ diff --git a/analysis/matlab/variations/right_only_d6_13/learning_curve_rate.png b/analysis/matlab/variations/right_only_d6_13/learning_curve_rate.png index f2ad10c..7c8bf83 100644 Binary files a/analysis/matlab/variations/right_only_d6_13/learning_curve_rate.png and b/analysis/matlab/variations/right_only_d6_13/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/right_only_d6_13/plotcurve.m b/analysis/matlab/variations/right_only_d6_13/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/right_only_d6_13/plotcurve.m +++ b/analysis/matlab/variations/right_only_d6_13/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/unmerge_d0_10/learning_curve.png b/analysis/matlab/variations/unmerge_d0_10/learning_curve.png index cf04236..f3dbb3c 100644 Binary files a/analysis/matlab/variations/unmerge_d0_10/learning_curve.png and b/analysis/matlab/variations/unmerge_d0_10/learning_curve.png differ diff --git a/analysis/matlab/variations/unmerge_d0_10/learning_curve_rate.png b/analysis/matlab/variations/unmerge_d0_10/learning_curve_rate.png index 70642ef..c5b18e5 100644 Binary files a/analysis/matlab/variations/unmerge_d0_10/learning_curve_rate.png and b/analysis/matlab/variations/unmerge_d0_10/learning_curve_rate.png differ diff --git a/analysis/matlab/variations/unmerge_d0_10/plotcurve.m b/analysis/matlab/variations/unmerge_d0_10/plotcurve.m index 4c60752..dfcf58d 100644 --- a/analysis/matlab/variations/unmerge_d0_10/plotcurve.m +++ b/analysis/matlab/variations/unmerge_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);