tdo not label irrelevant axis - sphere - GPU-based 3D discrete element method a… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 3ba0f025cf90fec05124f8c2efdba88d507ac497 | |
parent 8cdf9344e90f04a65c7cf0210efda6b9e83a9e27 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 27 Oct 2014 11:31:11 +0100 | |
do not label irrelevant axis | |
Diffstat: | |
M python/shear-results-velfac.py | 3 ++- | |
1 file changed, 2 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/python/shear-results-velfac.py b/python/shear-results-velfac.py | |
t@@ -240,7 +240,8 @@ for c in numpy.arange(len(velfacvals)): | |
ax1.set_ylabel('Shear friction $\\tau/\\sigma\'$ [-]') | |
ax2.set_ylabel('Dilation $\\Delta h/(2r)$ [-]') | |
-ax3.set_ylabel('$\\boldsymbol{v}_\\text{f}^z h$ [ms$^{-1}$]') | |
+if zflow and fluid: | |
+ ax3.set_ylabel('$\\boldsymbol{v}_\\text{f}^z h$ [ms$^{-1}$]') | |
#ax3.set_ylabel('Fluid pressure $p_\\text{f}$ [kPa]') | |
#ax4.set_ylabel('Particle contact force $||\\boldsymbol{f}_\\text{p}||$ [N]') | |