%function [  ] = plotCPFdynamicsALL( data_NS, data_EW )

% Plot both the NS and EW data_NS

% --------------------------------
% CPF Dynamics output as follows:
% --------------------------------
% Row 1 --- Time (sec)
% Row 2 --- Current Velocity (m/s)
% Row 3 --- CPF Position (m)
% Row 4 --- CPF Velocity (m/s)
% Row 5 --- CPF Acceleration (m/s/s)
% Row 6 --- CPF Acceleration (mg)
% Row 7 --- Reynolds Number



figure(1), clf

        
 % Column 1
        subplot(3,2,1)
        plot(data_NS(:,1), data_NS(:,3),'b',data_EW(:,1), data_EW(:,3),'--g');
        xlabel('Time [sec]');
        ylabel('CPF Position [m]');
        legend('North/South', 'East/West', 'Location', 'southeast');
        
        
        subplot(3,2,3)
        plot(data_NS(:,1), data_NS(:,4),'b',data_EW(:,1), data_EW(:,4),'--g');
        xlabel('Time [sec]');
        ylabel('CPF Velocity [m/s]');
        legend('North/South', 'East/West', 'Location', 'southeast');

        
        
        subplot(3,2,5)
        plot(data_NS(:,1), data_NS(:,5),'b',data_EW(:,1), data_EW(:,5),'--g');
        xlabel('Time [sec]');
        ylabel('CPF Acceleration [m/s/s]');
        legend('North/South', 'East/West', 'Location', 'southeast');
       

        
        
% Column 2     
        subplot(3,2,2)
        plot(data_NS(:,1), data_NS(:,7),'b',data_EW(:,1), data_EW(:,7),'--g');
        xlabel('Time [sec]');
        ylabel('Reynolds Number');
        legend('North/South', 'East/West', 'Location', 'southeast');

        
        
        subplot(3,2,4)
        plot(data_NS(:,1), data_NS(:,2),'b',data_EW(:,1), data_EW(:,2),'--g');
        xlabel('Time [sec]');
        ylabel('Current Velocity [m/s]');
        legend('North/South', 'East/West', 'Location', 'southeast');

        
        subplot(3,2,6)
        plot(data_NS(:,1), data_NS(:,6),'b',data_EW(:,1), data_EW(:,6),'--g');
        xlabel('Time [sec]');
        ylabel('CPF Acceleration [mg]');
        legend('North/South', 'East/West', 'Location', 'southeast');
       % axis([0 2500 -1 1])

        
        
        
        
%end
