tfixed error in shear visualization figure layout - 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 1cb4f6b13a8d8d7a4f23be5b744f818804de98b0
(DIR) parent 95af4aecab1bf483403474223cc82f1e7a863b63
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Fri, 24 May 2013 10:34:22 +0200
fixed error in shear visualization figure layout
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -2210,7 +2210,7 @@ def visualize(project, method = 'energy', savefig = True, outformat = 'png'):
ax1.grid()
# Plot dilation
- ax2 = plt.subplot2grid((1,2),(1,0))
+ ax2 = plt.subplot2grid((1,2),(0,1))
ax2.set_xlabel('Shear strain [-]')
ax2.set_ylabel('Dilation [m]')
ax2.plot(xdisp/w_x0, dilation, '+-')