treenable grid - sphere - GPU-based 3D discrete element method algorithm with o… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 5c081582abaaa63f62a8a33f082313c438d27a97 | |
parent b1f745904addcb9bcaa265540014baee017ce743 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 9 Sep 2014 10:31:37 +0200 | |
reenable grid | |
Diffstat: | |
M python/consolidation-curve.py | 2 +- | |
M python/permeability-results.py | 2 +- | |
M python/shear-results.py | 4 ++-- | |
3 files changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/python/consolidation-curve.py b/python/consolidation-curve.py | |
t@@ -93,7 +93,7 @@ plt.ylabel('Thickness change [m]') | |
for c in range(len(c_grad_p_list)): | |
#H[c] /= -min_H_c | |
plt.semilogx(t[c], H[c], '-', label='$c$ = %.2f' % (c_grad_p_list[c])) | |
-#plt.grid() | |
+plt.grid() | |
plt.legend(loc=0, prop={'size':18}) | |
plt.tight_layout() | |
diff --git a/python/permeability-results.py b/python/permeability-results.py | |
t@@ -72,7 +72,7 @@ for c in range(len(cvals)): | |
#plt.semilogx(dpdz[c], K[c], 'o-', label='$c$ = %.2f' % (cvals[c])) | |
#plt.semilogy(dpdz[c], K[c], 'o-', label='$c$ = %.2f' % (cvals[c])) | |
plt.loglog(dpdz[c], K[c], 'o-', label='$c$ = %.2f' % (cvals[c])) | |
-#plt.grid() | |
+plt.grid() | |
#plt.subplot(3,1,2) | |
#plt.xlabel('Pressure gradient $\\Delta p/\\Delta z$ [Pa m$^{-1}$]') | |
diff --git a/python/shear-results.py b/python/shear-results.py | |
t@@ -83,8 +83,8 @@ ax2.set_xlabel('Shear strain [-]') | |
ax1.set_ylabel('Shear friction $\\tau/\\sigma\'$ [-]') | |
ax2.set_ylabel('Dilation $\\Delta h/(2r)$ [-]') | |
plt.setp(ax1.get_xticklabels(), visible=False) | |
-#ax1.grid() | |
-#ax2.grid() | |
+ax1.grid() | |
+ax2.grid() | |
ax1.legend(loc='lower right', prop={'size':18}) | |
ax2.legend(loc='lower right', prop={'size':18}) | |