def show_results(self):
pl.plot(self.t, self.n_A1, 'b--', label='A1')
pl.plot(self.t, self.n_B1, 'g', label='B1')
pl.plot(self.t, self.n_A2, 'r--', label='A2')
pl.plot(self.t, self.n_B2, 'c', label='B2')
pl.plot(self.t, self.n_A3, 'm', label='A3')
pl.plot(self.t, self.n_B3, 'k+', label='B3')
pl.title('Double Decay Probelm-Three Situations')
pl.xlim(0.0, 5.0)
pl.ylim(0.0, 100.0)
pl.xlabel('time ($s$)')
pl.ylabel('Number of Nuclei')
pl.legend(loc="best", shadow=True, fontsize='small')
4(improved-4).py 文件源码
python
阅读 44
收藏 0
点赞 0
评论 0
评论列表
文章目录