tAdded legend to shear stress in visualize(shear) - 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 8c23302b6b6d8c889652e3d8070045f5af68e00b
(DIR) parent 366c91b40daa1975adce5251c8a51bd3cf3a6ee6
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Thu, 29 Nov 2012 22:10:19 +0100
Added legend to shear stress in visualize(shear)
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@@ -1299,7 +1299,7 @@ def visualize(project, method = 'energy', savefig = True, outformat = 'png'):
ax1.set_ylabel('Stress [Pa]')
ax1.plot(xdisp, sigma_eff, '+-g', label="$\sigma'")
ax1.plot(xdisp, sigma_def, '+-b', label="$\sigma_0")
- ax1.plot(xdisp, tau, '+-r')
+ ax1.plot(xdisp, tau, '+-r', label="$\tau$")
ax1.legend()
ax1.grid()