tAdded legend to shear stress in visualize(shear) - sphere - GPU-based 3D discr… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 8c23302b6b6d8c889652e3d8070045f5af68e00b | |
parent 366c91b40daa1975adce5251c8a51bd3cf3a6ee6 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -1299,7 +1299,7 @@ def visualize(project, method = 'energy', savefig = True… | |
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() | |