tfixed error in shear visualization figure layout - sphere - GPU-based 3D discr… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 1cb4f6b13a8d8d7a4f23be5b744f818804de98b0 | |
parent 95af4aecab1bf483403474223cc82f1e7a863b63 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -2210,7 +2210,7 @@ def visualize(project, method = 'energy', savefig = True… | |
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, '+-') |