def plot_cb_bij(x_nd, y_md, xtarg_nd, corr_nm, wt_n, f): if args.plot_color: plotting_plt.plot_tps_registration(x_nd, y_md, f, res = (.3, .3, .12), x_color = x_color, y_color = y_color, proj_2d=args.proj) else: plotting_plt.plot_tps_registration(x_nd, y_md, f, res = (.4, .3, .12), proj_2d=args.proj) # save plot to file if output_prefix is not None: plt.savefig(output_prefix + "_iter" + str(iteration) + '.png')
def plot_cb(x_nd, y_md, corr_nm, f, iteration): if args.plot_color: plotting_plt.plot_tps_registration(x_nd, y_md, f, x_color = x_color, y_color = y_color, proj_2d=args.proj) else: plotting_plt.plot_tps_registration(x_nd, y_md, f, proj_2d=args.proj) # save plot to file if output_prefix is not None: plt.savefig(output_prefix + "_iter" + str(iteration) + '.png')