simulation.py 文件源码

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

项目:combat-sim 作者: LewisParr 项目源码 文件源码
def plot_Visible_Area(force):
    plt.figure()
    c = ['r', 'b']
    a = 0
    for F in force:
        plt.plot(F.visible_area, c=c[a])
        a += 1
    plt.xlabel('Timestep')
    plt.ylabel('Visible Area')
    plt.title('Fraction of Environment Visible')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号