tchange color of unsmoothed friction plot - 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 975a62ad553ac990b309bf6bf62dee7bf970c487
(DIR) parent 9da0de7c1193e9003ab7f896edf225a84503810c
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 14 Apr 2015 20:56:47 +0200
change color of unsmoothed friction plot
Diffstat:
M python/halfshear-darcy-strength-di… | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/python/halfshear-darcy-strength-dilation.py b/python/halfshear-darcy-strength-dilation.py
t@@ -228,7 +228,8 @@ for c in numpy.arange(0,len(k_c_vals)):
# unsmoothed
ax1.plot(shear_strain[c][1:], friction[c][1:], \
label=label, linewidth=1,
- alpha=0.2, color='gray', clip_on=False)
+ alpha=0.3, color=color[c], clip_on=False)
+ #alpha=0.2, color='gray', clip_on=False)
#alpha=alpha, color=color[c])
# smoothed
t@@ -256,7 +257,7 @@ for c in numpy.arange(0,len(k_c_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)