tfix x axis limits - sphere - GPU-based 3D discrete element method algorithm wi… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 5de92b4359654076c1e958213398b3ec92ee4e49 | |
parent b6deb92e2b4b9768de9257f2c7e413a290249147 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 23 Jan 2015 11:46:03 +0100 | |
fix x axis limits | |
Diffstat: | |
M python/sphere.py | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -6058,8 +6058,7 @@ class sim: | |
#cmap=matplotlib.cm.get_cmap('coolwarm'), | |
vmin=-p_ext, vmax=p_ext, | |
rasterized=True) | |
- ax.set_xlim([0, numpy.max(shear_strain)]) | |
- #ax.set_xlim([0, numpy.max(t)]) | |
+ ax.set_xlim([0, numpy.max(x)]) | |
if sb.w_x[0] < sb.L[2]: | |
ax.set_ylim([zpos_c[0], sb.w_x[0]]) | |
else: |