load 'Val_poly_fit_residuals.plt';
meas_calib = Val_poly_fit_residuals(:, 1);
real_calib = Val_poly_fit_residuals(:, 2);
calib_out = Val_poly_fit_residuals(:, 3);
residual = Val_poly_fit_residuals(:, 4);
figure
hold on
plot(meas_calib, calib_out, '*r')
plot(meas_calib, real_calib, 'ob')
legend('Calib Out', 'Real', 0)
title('Polynomial Fit Residuals')
ylabel('Calib Out and Real Values')
xlabel('Calib Measured Value')
grid on
hold off
figure
plot(meas_calib, residual) 
title('Polynomial Fit Residuals')
ylabel('Residual')
xlabel('Calib Measured Value')
grid on
