-plot_field = ax.quiver(
- origins[:, 0].numpy(), origins[:, 1].numpy(),
- field[:, 0].numpy(), field[:, 1].numpy(),
- units = 'xy', scale = 1,
- width = 3e-3, headwidth = 25, headlength = 25
-)
-
-plot_data = ax.scatter(
- data[:, 0].numpy(), data[:, 1].numpy(),
- s = 1, color = 'tab:blue'
-)
-
-fig.savefig('denoising_field.pdf', bbox_inches='tight')
+ filename = f'denoising_field_{data_name}.pdf'
+ print(f'Saving {filename}')
+ fig.savefig(filename, bbox_inches='tight')