close all
clear all


path = 'C:\Documents and Settings\hamilton\Desktop\FOO\';
load([path 'Dec152011OrientationCheck.mat']);

figure
ah1 = subplot(3,1,1)
plot(time-time(1),CompHeading)

ah2 = subplot(3,1,2)
plot(time-time(1),CompPitchAngle)

ah3 = subplot(3,1,3)
plot(time-time(1),CompRollAngle)

linkaxes([ah1 ah2 ah3],'x');



figure
ah1 = subplot(2,1,1)
plot(time-time(1),yawAngleTrue)

ah2 = subplot(2,1,2)
plot(time-time(1),yawAngleTrue)


linkaxes([ah1 ah2],'x');
