Introduction
Introduction Statistics Contact Development Disclaimer Help
tchanged fig text precision - sphere - GPU-based 3D discrete element method alg…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 45188dc7dbc00a30c9eeab280bbd087f055c5360
parent f4444be4ce16ca00615956b453018563811f771c
Author: Anders Damsgaard <[email protected]>
Date: Wed, 2 Jan 2013 12:57:11 +0100
changed fig text precision
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python/sphere.py b/python/sphere.py
t@@ -1295,7 +1295,7 @@ def visualize(project, method = 'energy', savefig = True…
# Plot stresses
if (outformat != 'txt'):
- shearinfo = "$\\tau_u = {:.4}$ Pa at $\gamma = {:.4}$".format(tau_…
+ shearinfo = "$\\tau_u$ = {:.3} Pa at $\gamma$ = {:.3}".format(tau_…
fig.text(0.5,0.03,shearinfo,horizontalalignment='center',fontprope…
ax1 = plt.subplot2grid((2,1),(0,0))
ax1.set_xlabel('Shear strain [-]')
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.