tinclude simulation id in file name - slidergrid - grid of elastic sliders on a frictional surface
HTML git clone git://src.adamsgaard.dk/slidergrid
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit f42ed36e0b3fd01a46ca70e29a11c5ded205f809
DIR parent 0098826894734f6e3f5db2e76a707860f42c8c7e
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
DIR 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)