close all

figure('Position',[19 45 1538 1093],'PaperPositionMode','manual','PaperType','usletter','PaperPosition',[0 0 8.5 11]);


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]);