"""Original threshold-model solutions; Python 3.14, numpy 2.3.5, matplotlib 3.10.7.""" from pathlib import Path import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt T=9.;t=np.linspace(-.5,13.5,2400) KYZ=.25;KYY1=.55;KI=.45 tr=-np.log1p(-KYZ);t1=-np.log1p(-KYY1);tb=t1-np.log1p(-KI) off1=T+np.log(1/KYY1) y=np.where(t<0,0,np.where(t'}) axes[1].plot([tr,tb],[KYZ,zmin],'ko',ms=4) axes[1].annotate('temporary minimum',xy=(tb,zmin),xytext=(tb+1.3,.35),arrowprops={'arrowstyle':'->'}) axes[1].set(xlabel=r'time $\alpha t$') fig.savefig(Path.cwd()/Path(__file__).with_suffix('.png').name,dpi=130,facecolor='white',transparent=False) plt.close(fig)