tcopy file to article graphics folder - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit de478f3c62a6324db6df9f9d75598d18601955e9
(DIR) parent 813022e7c5176be336f95b1b9f61747b5d3b4a32
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 25 Feb 2015 10:38:45 +0100
copy file to article graphics folder
Diffstat:
M python/halfshear-darcy-combined.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/python/halfshear-darcy-combined.py b/python/halfshear-darcy-combined.py
t@@ -302,5 +302,8 @@ ax9.set_xlabel('Time [s]')
fig.tight_layout()
plt.subplots_adjust(hspace=0.05)
-plt.savefig(sid + '-combined.' + outformat)
+filename = sid + '-combined.' + outformat
+plt.savefig(filename)
plt.close()
+shutil.copyfile(filename, '/home/adc/articles/own/3/graphics/' + filename)
+print(filename)