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

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

项目:computational_physics_N2014301020117 作者: yukangnineteen 项目源码 文件源码
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')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号