tmoved tau_u text - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit 8def5f03a411d7bb768186c1aca61f34ceafa09f
DIR parent 8ce02384e89cb5a9bcb9b49049e44eff67a93fe1
HTML Author: Anders Damsgaard <adc@geo.au.dk>
Date: Wed, 2 Jan 2013 12:42:04 +0100
moved tau_u text
Diffstat:
M python/sphere.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/python/sphere.py b/python/sphere.py
t@@ -1295,8 +1295,8 @@ def visualize(project, method = 'energy', savefig = True, outformat = 'png'):
# Plot stresses
if (outformat != 'txt'):
- figtitle = "{}, $\\tau_u = {} (\gamma = {})$".format(project, tau_u, tau_u_shearstrain)
- fig.text(0.5,0.95,figtitle,horizontalalignment='center',fontproperties=FontProperties(size=18))
+ shearinfo = "{}, $\\tau_u = {} (\gamma = {})$".format(project, tau_u, tau_u_shearstrain)
+ fig.text(0.5,0.05,shearinfo,horizontalalignment='center',fontproperties=FontProperties(size=14))
ax1 = plt.subplot2grid((2,1),(0,0))
ax1.set_xlabel('Shear strain [-]')
ax1.set_ylabel('Stress [Pa]')