fig, axis =plt.subplots(1,2,figsize=(8,3))
axs=axis[0]
axs2=axis[1]
axs.fill_between(time2, np.zeros(time2.shape[0]), frac2*4, color='tab:orange', alpha=0.15)
axs.fill_between(time1, np.zeros(time1.shape[0]), frac1*4, color='firebrick', alpha=0.2)
axs.fill_between(time07, np.zeros(time07.shape[0]), frac07*4, color='midnightblue', alpha=0.3)
axt = axs.twinx()
axt.set_yticks([0,0.5,1])
axt.grid(False)
axt.set_ylabel('$\\mathrm{Overturning\ fraction}$')
axs.plot(time07, LO07/LT07, color='midnightblue')
axs.plot(time1, LO1/LT1, color='firebrick')
axs.plot(time2, LO2/LT2, color='tab:orange')
axs.set_xlim(80,150)
axs.set_ylim(0,4)
axs.set_title('$R_{OT}$')
axs.set_xlabel('$t$')
axs.annotate('$a)$', (70,4.2), annotation_clip=False, size=12)
axt = axs2.twinx()
axt.plot(hist07[1][1:], hist07[0], color='midnightblue', label='$\\mathrm{F07}$')
axt.plot(hist1[1][1:], hist1[0], color='firebrick', label='$\\mathrm{F1}$')
axt.plot(hist2[1][1:], hist2[0], color='tab:orange', label='$\\mathrm{F2}$')
axt.set_yscale('log')
axt.legend(frameon=False, loc='lower center')
axt.set_ylim(0.0001,1)
axt.set_xlim(-6,0)
axs.axvline(time07[56], color='midnightblue', linestyle='--', linewidth=0.75)
axs.axvline(time1[66], color='firebrick', linestyle='--', linewidth=0.75)
axs.axvline(time2[52], color='tab:orange', linestyle='--', linewidth=0.75)
axt.set_ylabel('$\\mathrm{p.d.f.}$')
axs2.set_xlabel('$\\log_{10}\\varepsilon$')
axs2.set_yticks([])
axs2.annotate('$b)$', (-6.5,1.05), annotation_clip=False, size=12)
fig.tight_layout()
fig.show()