tinclude simulation id in file name - slidergrid - grid of elastic sliders on a… | |
git clone git://src.adamsgaard.dk/slidergrid | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit f42ed36e0b3fd01a46ca70e29a11c5ded205f809 | |
parent 0098826894734f6e3f5db2e76a707860f42c8c7e | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 5 Apr 2016 14:17:57 -0700 | |
include simulation id in file name | |
Diffstat: | |
M postprocessing.py | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/postprocessing.py b/postprocessing.py | |
t@@ -115,7 +115,7 @@ class slidergrid: | |
plt.plot(self.t_series, self.E_r_series, label='$E_{rotational}$') | |
plt.xlabel('Time [s]') | |
plt.ylabel('Total kinetic energy [J]') | |
- outfile = self.folder + '/E_kin.pdf' | |
+ outfile = self.folder + '/' + self.id + '.E_kin.pdf' | |
plt.legend(loc='best') | |
plt.tight_layout() | |
plt.savefig(outfile) |