tremove trailing zero - 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 675d72b75412b8a1480027d596e8be8013f2a2db
(DIR) parent 462c0d954b49385e7ece46b58757cad52d7109ab
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 2 Mar 2015 15:06:39 +0100
remove trailing zero
Diffstat:
M python/halfshear-darcy-rate-depend… | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/python/halfshear-darcy-rate-dependence.py b/python/halfshear-darcy-rate-dependence.py
t@@ -145,7 +145,7 @@ for sid in sids:
## Fit
ax1.plot(friction_fit, strainrate_fit)
#ax1.plot(friction_fit2, strainrate_fit2)
- ax1.annotate('$\\dot{\\gamma} = (\\tau/N)^{6.40}$',
+ ax1.annotate('$\\dot{\\gamma} = (\\tau/N)^{6.4}$',
xy = (friction_fit[40], strainrate_fit[40]),
xytext = (0.32+0.05, 2.0e-9),
arrowprops=dict(facecolor='blue', edgecolor='blue', shrink=0.1,
t@@ -181,7 +181,7 @@ for sid in sids:
## dilation vs. rate
fig = plt.figure(figsize=(3.5,2.5))
ax1 = plt.subplot(111)
- CS = ax1.scatter(friction, dilation,
+ CS = ax1.scatter(friction, dilation[idx],
c=shearstrain_nonzero, linewidth=0.05,
cmap=matplotlib.cm.get_cmap('afmhot'))
t@@ -199,7 +199,7 @@ for sid in sids:
'''
ax1.plot(friction_fit, strainrate_fit)
#ax1.plot(friction_fit2, strainrate_fit2)
- ax1.annotate('$\\dot{\\gamma} = (\\tau/N)^{6.40}$',
+ ax1.annotate('$\\dot{\\gamma} = (\\tau/N)^{6.4}$',
xy = (friction_fit[40], strainrate_fit[40]),
xytext = (0.32+0.05, 2.0e-9),
arrowprops=dict(facecolor='blue', edgecolor='blue', shrink=0.1,