tchange color of unsmoothed friction - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit e605e058f851c5b5a65d34f24a775e4ffbf28262
(DIR) parent 975a62ad553ac990b309bf6bf62dee7bf970c487
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 14 Apr 2015 20:58:55 +0200
change color of unsmoothed friction
Diffstat:
M python/halfshear-darcy-strength-di… | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/python/halfshear-darcy-strength-dilation-rate.py b/python/halfshear-darcy-strength-dilation-rate.py
t@@ -231,7 +231,8 @@ for c in numpy.arange(0,len(mu_f_vals)):
# unsmoothed
ax1.plot(shear_strain[c][1:], friction[c][1:], \
label=label, linewidth=1,
- alpha=0.2, color='gray')
+ alpha=0.3, color=color[c], clip_on=False)
+ #alpha=0.2, color='gray')
#alpha=alpha, color=color[c])
# smoothed
t@@ -259,7 +260,7 @@ for c in numpy.arange(0,len(mu_f_vals)):
ax3.fill_between(shear_strain[c], p_min[c], p_max[c],
where=p_min[c]<=p_max[c], facecolor=color[c], edgecolor='None',
- interpolate=True, alpha=0.5)
+ interpolate=True, alpha=0.3)
#ax4.plot(shear_strain[c][1:], f_n_mean[c][1:], '-' + color[c],
#label='$c$ = %.2f' % (cvals[c-1]), linewidth=2)