Introduction
Introduction Statistics Contact Development Disclaimer Help
tadded plot file name output - sphere - GPU-based 3D discrete element method al…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 5fa1bf5dcc7ddcd32349a0477194b7e53eacca38
parent 198dc2084f7e5a302a3de04a8913d26eb598322a
Author: Anders Damsgaard <[email protected]>
Date: Wed, 13 Aug 2014 09:30:26 +0200
added plot file name output
Diffstat:
M python/permeability-calculator.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python/permeability-calculator.py b/python/permeability-calculator…
t@@ -161,7 +161,9 @@ class PermeabilityCalc:
plt.legend()
plt.grid()
- plt.savefig(self.sid + '-permeability.' + outformat)
+ filename = self.sid + '-permeability.' + outformat)
+ plt.savefig(filename)
+ print('Figure saved as "' + filename + '"')
plt.show()
# Simulation ID
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.