tfix peak strength text - sphere - GPU-based 3D discrete element method algorit… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 4efc04ca0baeff9dda49ba6d41d47a1934dfb160 | |
parent 538aa86ce112aaa8d9a9562cdf522860e39fc9b2 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 1 Sep 2014 16:12:52 +0200 | |
fix peak strength text | |
Diffstat: | |
M python/sphere.py | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -4912,7 +4912,7 @@ class sim: | |
if (outformat != 'txt'): | |
shearinfo = "$\\tau_u$ = {:.3} Pa at $\gamma$ = {:.3}".format(\ | |
tau_u, tau_u_shearstrain) | |
- fig.text(0.5, 0.03, shearinfo, horizontalalignment='center', | |
+ fig.text(0.01, 0.01, shearinfo, horizontalalignment='left', | |
fontproperties=FontProperties(size=14)) | |
ax1 = plt.subplot2grid((2,1), (0,0)) | |
ax1.set_xlabel('Shear strain [-]') |