tLegend in shear visualization stress plot in lower right - 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 f47bdf36b1edc4b3b73812a5f6802993dabbcc0c
(DIR) parent eea999808f3d54c29b4c3d7add4850c7eb21fe8d
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Wed, 5 Dec 2012 15:05:02 +0100
Legend in shear visualization stress plot in lower right
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -1301,7 +1301,7 @@ def visualize(project, method = 'energy', savefig = True, outformat = 'png'):
ax1.plot(xdisp, sigma_eff, '+-g', label="$\sigma'$")
ax1.plot(xdisp, sigma_def, '+-b', label="$\sigma_0$")
ax1.plot(xdisp, tau, '+-r', label="$\\tau$")
- ax1.legend()
+ ax1.legend(loc = 4)
ax1.grid()
# Plot dilation