.
(cycles)’)fig.add_subplot(1,2,2) plt.plot(otrueRUL[0:mx], color=’red’) plt.legend([‘True RUL’], bbox_to_anchor=(0., 1.02, 1., .102), loc=3, mode=”expand”, borderaxespad=0) plt.ylabel(‘RUL (cycles)’) plt.ylim(0,otrueRUL[0:mx].max()+10) plt.show() 5.2. Comparison Predicted and True RUL We can compare