Beispiel #1
0
def simple_plot_mul_compare(save_path, x, ys, ls=None, cs=None, legend=True
                            , title='DDD',x_label='', y_label=''
                            ):
    fig_all, ax = get_ax_obj(save_path)
    plot_mul_compare(ax, x, ys, ls, cs, legend=legend,
                     title=title, x_label=x_label, y_label=y_label)
    plt.savefig(save_path)
    plt.close()
Beispiel #2
0
def simple_plot_compare(save_path,
                        x,
                        y1,
                        y2,
                        l1='line1',
                        l2='line2',
                        c1='b',
                        c2='r'):
    fig_all, ax = get_ax_obj(save_path)
    plot_compare(ax, x, y1, y2, l1, l2, c1, c2)
    plt.savefig(save_path)