fig = plt.figure(figsize=(12, 8))
plt.set_cmap('jet')
gs = GridSpec(2, 3, height_ratios=[1, 1], width_ratios=[2, 1, 2])
plt.subplot(gs[0, 0])
plt.contourf(lon, lat, vor.T)
plt.ylim([-90, 90])
plt.colorbar()
plt.title('q')
plt.subplot(gs[0, 1])
plt.plot(Ae, lat, '-k', label='A')
plt.plot(np.mean(AeL, axis=0), lat, '--r', label='sum(A+, A-)')
plt.legend()
plt.ylim([-90, 90])
plt.yticks([])
plt.title('A')
plt.subplot(gs[0, 2])
plt.contourf(lon, lat, AeL.T)
plt.colorbar()
plt.ylim([-90, 90])
plt.title('A')
plt.subplot(gs[1, 0])
plt.contourf(lon, lat, AeLp.T)
plt.colorbar()
plt.ylim([-90, 90])
plt.title('A+ (southward)')
plt.subplot(gs[1, 1])
plt.plot(np.mean(AeLp, axis=0), lat, '-r', label='A+')
plt.plot(np.mean(AeLm, axis=0), lat, '-b', label='A-')
plt.legend()
plt.ylim([-90, 90])
plt.yticks([])
plt.title('A')
plt.subplot(gs[1, 2])
plt.contourf(lon, lat, AeLm.T)
plt.colorbar()
plt.ylim([-90, 90])
plt.title('A- (northward)')
plt.show()