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 60bd8a864eebf1263ec59fc0dc883690e4066f5c | |
parent 8c23302b6b6d8c889652e3d8070045f5af68e00b | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 29 Nov 2012 22:11:14 +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', label="$\tau$") | |
+ ax1.plot(xdisp, tau, '+-r', label="$\\tau$") | |
ax1.legend() | |
ax1.grid() | |