close all

figure('Position',[520          68         796        1030],'PaperPositionMode','manual','PaperType','usletter','PaperPosition',[0 0 8.5 11 8.5]);


ah1 = subplot(4,1,1)
plot(time-time(1),PistonDistance)
xlabel('seconds')
ylabel('PistonDistance');

ah2 = subplot(4,1,2)
plot(time-time(1),RectifiedVoltage)
ylabel('Rectified Voltage')

ah3 = subplot(4,1,3)
plot(time-time(1),RectifiedCurrent)
ylabel('Rectified Current');

ah4 = subplot(4,1,4)
plot(time-time(1),LoadCellForce)
ylabel('Load Cell Force (lbs)');

linkaxes([ah1 ah2 ah3 ah4],'x');


xlim([3430 3500]);