def PlotOverview(oData):
    import matplotlib.pyplot as plt
    from mpl_toolkits.mplot3d import Axes3D
    time_s = oData['time_s']
    vIas_mps = oData['vIas_mps']
    vGps_mps = np.linalg.norm(oData['vGps_L_mps'], 2, axis=0)
    vB_mps = np.linalg.norm(oData['vB_L_mps'], 2, axis=0)
    (fig0, ax0) = plt.subplots()
    ax0.plot(time_s, oData['refV_mps'], label='ref')
    ax0.plot(time_s, vIas_mps, label='airspeed')
    ax0.plot(time_s, vGps_mps, '.', label='Gps')
    ax0.plot(time_s, vB_mps, label='Ekf')
    ax0.grid()
    ax0.set_xlabel('Time (s)')
    ax0.set_ylabel('Airspeed (m/s)')
    ax0.set_title('Air Data Airspeed')
    ax0.legend()
    altBaro_m = oData['altBaro_m']
    altGps_m = oData['rGps_D_ddm'][2]
    altB_m = oData['rB_D_ddm'][2]
    (fig1, ax1) = plt.subplots()
    ax1.plot(time_s, oData['refH_m'], label='ref')
    ax1.plot(time_s, altBaro_m, label='Baro')
    ax1.plot(time_s, altGps_m, '.', label='GPS')
    ax1.plot(time_s, (altB_m - altB_m), label='Ekf')
    ax1.grid()
    ax1.set_xlabel('Time (s)')
    ax1.set_ylabel('Altitude (m)')
    ax1.set_title('Altitude')
    ax1.legend()
    latGps_deg = oData['rGps_D_ddm'][0]
    lonGps_deg = oData['rGps_D_ddm'][1]
    latB_deg = oData['rB_D_ddm'][0]
    lonB_deg = oData['rB_D_ddm'][1]
    (fig2, ax2) = plt.subplots()
    ax2.plot(lonGps_deg, latGps_deg, '.', label='GPS')
    ax2.plot(lonB_deg, latB_deg, label='Ekf')
    ax2.grid()
    ax2.axis('equal')
    ax2.set_xlabel('Longitude (deg)')
    ax2.set_ylabel('Latitude (deg)')
    ax2.set_title('Latitude and Longitude')
    ax2.legend()
    pwrFmu_V = oData['pwrFmu_V']
    (fig3, ax3) = plt.subplots()
    ax3.plot(time_s, pwrFmu_V)
    ax3.set_xlabel('Time (s)')
    ax3.set_ylabel('Avionics Voltage (V)')
    ax3.set_title('Power')
    ax3.grid()
    fig4 = plt.figure()
    ax4 = fig4.gca(projection='3d', proj_type='ortho')
    ax4.plot(lonGps_deg, latGps_deg, altGps_m, '.', label='GPS')
    ax4.plot(lonB_deg, latB_deg, altB_m, label='Ekf')
    ax4.axis('equal')
    ax4.grid()
    ax4.set_xlabel('Longitude (deg)')
    ax4.set_ylabel('Latitude (deg)')
    ax4.set_title('Flight Path')
    ax4.legend()
    plt.show()
    return 1
def PlotOverview(oData):
    import matplotlib.pyplot as plt
    from mpl_toolkits.mplot3d import Axes3D
    time_s = oData['time_s']
    vIas_mps = oData['vIas_mps']
    vGps_mps = np.linalg.norm(oData['vGps_L_mps'], 2, axis=0)
    vB_mps = np.linalg.norm(oData['vB_L_mps'], 2, axis=0)
    (fig0, ax0) = plt.subplots()
    ax0.plot(time_s, oData['refV_mps'], label='ref')
    ax0.plot(time_s, vIas_mps, label='airspeed')
    ax0.plot(time_s, vGps_mps, '.', label='Gps')
    ax0.plot(time_s, vB_mps, label='Ekf')
    ax0.grid()
    ax0.set_xlabel('Time (s)')
    ax0.set_ylabel('Airspeed (m/s)')
    ax0.set_title('Air Data Airspeed')
    ax0.legend()
    altBaro_m = oData['altBaro_m']
    altGps_m = oData['rGps_D_ddm'][2]
    altB_m = oData['rB_D_ddm'][2]
    (fig1, ax1) = plt.subplots()
    ax1.plot(time_s, oData['refH_m'], label='ref')
    ax1.plot(time_s, altBaro_m, label='Baro')
    ax1.plot(time_s, altGps_m, '.', label='GPS')
    ax1.plot(time_s, (altB_m - altB_m), label='Ekf')
    ax1.grid()
    ax1.set_xlabel('Time (s)')
    ax1.set_ylabel('Altitude (m)')
    ax1.set_title('Altitude')
    ax1.legend()
    latGps_deg = oData['rGps_D_ddm'][0]
    lonGps_deg = oData['rGps_D_ddm'][1]
    latB_deg = oData['rB_D_ddm'][0]
    lonB_deg = oData['rB_D_ddm'][1]
    (fig2, ax2) = plt.subplots()
    ax2.plot(lonGps_deg, latGps_deg, '.', label='GPS')
    ax2.plot(lonB_deg, latB_deg, label='Ekf')
    ax2.grid()
    ax2.axis('equal')
    ax2.set_xlabel('Longitude (deg)')
    ax2.set_ylabel('Latitude (deg)')
    ax2.set_title('Latitude and Longitude')
    ax2.legend()
    pwrFmu_V = oData['pwrFmu_V']
    (fig3, ax3) = plt.subplots()
    ax3.plot(time_s, pwrFmu_V)
    ax3.set_xlabel('Time (s)')
    ax3.set_ylabel('Avionics Voltage (V)')
    ax3.set_title('Power')
    ax3.grid()
    fig4 = plt.figure()
    ax4 = fig4.gca(projection='3d', proj_type='ortho')
    ax4.plot(lonGps_deg, latGps_deg, altGps_m, '.', label='GPS')
    ax4.plot(lonB_deg, latB_deg, altB_m, label='Ekf')
    ax4.axis('equal')
    ax4.grid()
    ax4.set_xlabel('Longitude (deg)')
    ax4.set_ylabel('Latitude (deg)')
    ax4.set_title('Flight Path')
    ax4.legend()
    plt.show()
    return 1