plots.py 文件源码

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

项目:multi-contact-zmp 作者: stephane-caron 项目源码 文件源码
def plot_com(self):
        pylab.plot(
            [-p[1] for p in self.com_real], [p[0] for p in self.com_real],
            'g-', lw=2)
        pylab.plot(
            [-p[1] for p in self.com_ref], [p[0] for p in self.com_ref],
            'k--', lw=1)
        pylab.legend(('$p_G$', '$p_G^{ref}$'), loc='upper right')
        pylab.grid(False)
        pylab.xlim(self.xlim)
        pylab.ylim(self.ylim)
        pylab.xlabel(self.xlabel)
        pylab.ylabel(self.ylabel)
        pylab.title("COM trajectory")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号