plots.py 文件源码

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

项目:nmmn 作者: rsnemmen 项目源码 文件源码
def plot(param, show = 1):

    """Returns the plot of spectrum as a pyplot object or plot it on the screen
    Keyword arguments:

    param -- Output spectrum file
    show  -- Optional, plot the spectrum on the screen. Enabled by default. 
    """

    s = sed.SED()
    s.grmonty(param)
    plt = pylab.plot(s.lognu, s.ll)
    if show == 1:
        pylab.show()
    else:
        return plt
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号