

clear
close all



load('23C02901_sat.mat');



figure_6panel_wide();

% plot heading
nexttile;
    plot(eng.head, eng.pres);
    dprof();
    ylabel('pressure');
    xlabel('Heading');
% plot roll
nexttile;
    plot(eng.roll, eng.pres);
    dprof();
    ylabel('pressure');
    xlabel('Roll');
% plot pitch
nexttile;
    plot(eng.pitch, eng.pres);
    dprof();
    ylabel('pressure');
    xlabel('pitch');

nexttile;
    plot(eng.pitchpot, eng.pres);
    dprof();
    ylabel('pressure');
    xlabel('pitch pot');


nexttile;
    plot(eng.rollpot, eng.pres);
    dprof();
    ylabel('pressure');
    xlabel('roll pot');

% is there a relationship with light? for some reason, it's not getting
% extracted properly. 
figure
plot(s.Ik, s.PAR, 'k.');

    

