tremove trailing zero - sphere - GPU-based 3D discrete element method algorithm… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 675d72b75412b8a1480027d596e8be8013f2a2db | |
parent 462c0d954b49385e7ece46b58757cad52d7109ab | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
diff --git a/python/halfshear-darcy-rate-dependence.py b/python/halfshear-darcy… | |
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, |