4(improved-8).py 文件源码

python
阅读 38 收藏 0 点赞 0 评论 0

项目:computational_physics_N2014301020117 作者: yukangnineteen 项目源码 文件源码
def show_results(self):
        pl.plot(self.t, self.n_A, 'b--', label='Number of Nuclei A: Time Constant = 1')
        pl.plot(self.t, self.n_B, 'g', label='Number of Nuclei B: Time Constant = 2')
        pl.title('Double Decay Probelm - Nuclei with Different Time Constans')
        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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号