step_r10 = [-0.033 0.964 2.149 3.094 4.069 4.996 5.653 5.966 6.072 6.046 5.785 5.424 4.817 4.043 3.057 2.091 1.061 0.226 0.009];
step_r5 = [-0.072 0.877 2.11 3.035 4.186 4.918 5.612 5.962 6.043 6.041 5.765 5.445 4.813 4.048 3.043 2.102 1.064 0.234 0.011];
step_r2 = [-0.007 0.63 2.153 3.402 4.257 4.982 5.669 5.937 6.01 6.037 5.804 5.451 4.783 4.013 3.061 2.108 1.055 0.239 0.021];

pd = [0:10:180];
plot(pd,step_r10,"-", pd,step_r5,"-",pd,step_r2,"-");
hold on;
legend('10 Repetitions','5 Repetitions','2 Repetitions');
grid on;
title('Step vs Phase difference')
xlabel('Phase difference (degrees)')
ylabel('Step (mm)')
axis([0,180])

