コード例 #1
0
    )
    pm.plot_z_list = plot_list
    pm.redraw_plot()
    pm.plot_loop(fig_format=file_fmt)

if plot_type == "response":
    pr = modem.PlotResponse(
        data_fn=dfn,
        resp_fn=rfn,
        plot_type=station_list[0],
        fig_size=[9, 3.25],
        ms=2,
        subplot_bottom=0.12,
        subplot_left=0.05,
        font_size=5.7,
        plot_z=False,
        cted=(0, 0, 0),
        ctmd=(0, 0, 0),
        ctem=(0.75, 0.0, 0.0),
        ctmm=(0.75, 0.0, 0.0),
        mted="o",
        mtem="x",
        mtmm="x",
        subplot_wspace=0.20,
    )

    for ss in station_list:
        pr.plot_type = ss
        pr.redraw_plot()
        pr.save_figure(
            save_fn=os.path.join(sv_path, "Supp_{0}.{1}".format(ss, file_fmt)),
コード例 #2
0
pm = modem.PlotRMSMaps(
    rfn[:-4] + ".res",
    marker="o",
    save_path=sv_path,
    fig_size=[6.95, 5.5],
    subplot_right=0.875,
)
pm.plot_loop(fig_format="pdf")

pr = modem.PlotResponse(
    data_fn=dfn,
    resp_fn=rfn,
    plot_type=station_list[0],
    fig_size=[6, 3.25],
    ms=2,
    subplot_bottom=0.12,
    subplot_left=0.07,
    font_size=5.7,
    plot_z=False,
    plot_yn="n",
)

for ss in station_list:
    pr.plot_type = ss
    pr.redraw_plot()

    pr.save_figure(save_fn=os.path.join(sv_path,
                                        "Supp_{0}_resp.pdf".format(ss)),
                   fig_dpi=600)

lines = []