tignore first set of values - 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 65c72fcb5932761bbc8ba036eb7d23aeae3af048
(DIR) parent 379ce413f9d61b1688b740e177cfda5d605f0285
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 9 Sep 2014 10:24:47 +0200
ignore first set of values
Diffstat:
M python/shear-results.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/python/shear-results.py b/python/shear-results.py
t@@ -71,8 +71,9 @@ ax2.plot(shear_strain[0], dilation[0], label='dry')
mean_diameter = numpy.mean(sim.radius)*2.0
for c in numpy.arange(1,len(cvals)+1):
- ax1.plot(shear_strain[c], friction[c], label='$c$ = %.2f' % (cvals[c-1]))
- ax2.plot(shear_strain[c], dilation[c]/mean_diameter, \
+ ax1.plot(shear_strain[c][1:], friction[c][1:], \
+ label='$c$ = %.2f' % (cvals[c-1]))
+ ax2.plot(shear_strain[c][1:], dilation[c][1:]/mean_diameter, \
label='$c$ = %.2f' % (cvals[c-1]))
#plt.plot(dpdz[c], K[c], 'o-', label='$c$ = %.2f' % (cvals[c]))
#plt.semilogx(dpdz[c], K[c], 'o-', label='$c$ = %.2f' % (cvals[c]))