graphs.py 文件源码

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

项目:pm-fiber-birefringence 作者: sid5432 项目源码 文件源码
def init_fill(self):
        rext = 1.0
        Ns = 51
        x, y = np.mgrid[ -rext:rext:1j*Ns, -rext:rext:1j*Ns ]
        z = np.zeros_like(x)

        self.controller.ax_xstress.pcolor(x,y,z, cmap=plt.cm.coolwarm)
        self.controller.ax_ystress.pcolor(x,y,z, cmap=plt.cm.coolwarm)
        self.controller.ax_xystress.pcolor(x,y,z, cmap=plt.cm.coolwarm)

        self.controller.ax_rstress.pcolor(x,y,z, cmap=plt.cm.coolwarm)
        self.controller.ax_tstress.pcolor(x,y,z, cmap=plt.cm.coolwarm)

        return

# =======================
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号