tcopy file to article graphics folder - sphere - GPU-based 3D discrete element … | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit de478f3c62a6324db6df9f9d75598d18601955e9 | |
parent 813022e7c5176be336f95b1b9f61747b5d3b4a32 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
diff --git a/python/halfshear-darcy-combined.py b/python/halfshear-darcy-combin… | |
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) |