angles.py 文件源码

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

项目:AdK_analysis 作者: orbeckst 项目源码 文件源码
def make_canonical_plot(NMP_lim=(39,76),LID_lim=(99,154),
                        c1AKE=config.angles['1AKE'],
                        c4AKE=config.angles['4AKE'],
                        xray=True):
    """Scale current figure to default limits and plot the positions of 1AKE and 4AKE.

    The points for the end states are taken from txt/x-ray_angles.txt.

    If xray=True then add locations of the X-ray structures; this is
    the same as running plot_xary_structures().
    """
    import pylab
    if xray:
        plot_xray_structures()
    pylab.plot([c1AKE[0],c4AKE[0]], [c1AKE[1],c4AKE[1]], 'sw', ms=12, alpha=0.8)
    pylab.xlim(NMP_lim)
    pylab.ylim(LID_lim)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号