tLegend in shear visualization stress plot in lower right - sphere - GPU-based … | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit f47bdf36b1edc4b3b73812a5f6802993dabbcc0c | |
parent eea999808f3d54c29b4c3d7add4850c7eb21fe8d | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -1301,7 +1301,7 @@ def visualize(project, method = 'energy', savefig = True… | |
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 |