function plotXi close all; load corrLength_2.4.dat load corrLength_2.2.dat load corrLength_1.5.dat for i = 1:38 corrLength_1_5(i, 3) = corrLength_1_5(i, 2) * 0.075; corrLength_2_4(i, 3) = corrLength_2_4(i, 2) * 0.075; end for i = 1:34 corrLength_2_2(i, 3) = corrLength_2_2(i, 2) * 0.075; end errorbar(corrLength_1_5(:,1), corrLength_1_5(:,2), corrLength_1_5(:,3), 'ko-', 'LineWidth', 1, 'MarkerSize', 7) hold on; errorbar(corrLength_2_2(:,1), corrLength_2_2(:,2), corrLength_2_2(:,3), 'kd-', 'LineWidth', 1, 'MarkerSize', 7) errorbar(corrLength_2_4(:,1), corrLength_2_4(:,2), corrLength_2_4(:,3), 'ks-', 'LineWidth', 1, 'MarkerSize', 7) x = [13.5 13.5]; y = ylim; plot(x, y, 'k--', 'LineWidth', 1); x = [13.0 13.0]; plot(x, y, 'k--', 'LineWidth', 1); set(gca, 'FontSize', 20); ylabel('\xi') set(gca, 'XTick', []) leg = legend('D=1.50\sigma','D=2.20\sigma','D=2.40\sigma') set(leg, 'Location', 'NorthWest'); legend boxoff; pbaspect([2 1 1]) saveas(gca, 'xi.png');