From e5d6f9f711f1583a33d3e45068015739a4e22971 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Tue, 5 Apr 2022 10:17:50 +0200 Subject: [PATCH] Add pdf output to r_test and orbitals --- data/processing/orbitals.py | 1 + swash/processing/r_test.py | 1 + 2 files changed, 2 insertions(+) diff --git a/data/processing/orbitals.py b/data/processing/orbitals.py index 63eafb5..884ecfa 100644 --- a/data/processing/orbitals.py +++ b/data/processing/orbitals.py @@ -93,5 +93,6 @@ ax2dv.quiver( ) ax2dv.grid() ax2dv.set(aspect="equal") +fig2dv.savefig("out_orbitals.pdf") plt.show() diff --git a/swash/processing/r_test.py b/swash/processing/r_test.py index 5a67f1c..ec7b23f 100644 --- a/swash/processing/r_test.py +++ b/swash/processing/r_test.py @@ -46,4 +46,5 @@ axr.autoscale(True, "x", tight=True) axr.set(ylim=(0, 1), ylabel="R", xlabel="f") axr.legend(("No noise", "40% noise"), loc="lower left") +figr.savefig("out_r_test.pdf") plt.show()