tdisable legends in two lower plots - sphere - GPU-based 3D discrete element me… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 1005d5549c86b69addaa092387b1bb0cabc33cab | |
parent 9811528026d02512bc27bee5e7f51d1f8a5dd27a | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 6 Feb 2015 11:12:35 +0100 | |
disable legends in two lower plots | |
Diffstat: | |
M python/halfshear-darcy-strength-di… | 16 ++++++++-------- | |
1 file changed, 8 insertions(+), 8 deletions(-) | |
--- | |
diff --git a/python/halfshear-darcy-strength-dilation-rate.py b/python/halfshea… | |
t@@ -132,10 +132,10 @@ for c, mu_f in enumerate(mu_f_vals): | |
if numpy.isclose(mu_f, 1.797e-6): | |
label = 'ref. shear velocity' | |
- elif numpy.isclose(mu_f, 1.204-6): | |
- label = 'ref. shear velocity$\\times 0.67$' | |
+ elif numpy.isclose(mu_f, 1.204e-6): | |
+ label = 'ref. shear velocity$\\times$0.67' | |
elif numpy.isclose(mu_f, 1.797e-8): | |
- label = 'ref. shear velocity$\\times 0.01$' | |
+ label = 'ref. shear velocity$\\times$0.01' | |
else: | |
label = '$\\mu_\\text{{f}}$ = {:.3e} Pa s'.format(mu_f) | |
t@@ -199,11 +199,11 @@ if zflow or pressures: | |
legend_alpha=0.5 | |
ax1.legend(loc='upper right', prop={'size':18}, fancybox=True, | |
framealpha=legend_alpha) | |
-ax2.legend(loc='lower right', prop={'size':18}, fancybox=True, | |
- framealpha=legend_alpha) | |
-if zflow or pressures: | |
- ax3.legend(loc='upper right', prop={'size':18}, fancybox=True, | |
- framealpha=legend_alpha) | |
+#ax2.legend(loc='lower right', prop={'size':18}, fancybox=True, | |
+ #framealpha=legend_alpha) | |
+#if zflow or pressures: | |
+ #ax3.legend(loc='upper right', prop={'size':18}, fancybox=True, | |
+ #framealpha=legend_alpha) | |
#ax4.legend(loc='best', prop={'size':18}, fancybox=True, | |
#framealpha=legend_alpha) | |