tdon't plot last part of smoothed signal - 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 328a815dc12553351a6dfe9eff8f07d05bd50e9d
(DIR) parent fe057aa578832b8cc7fa19769c182be927b63710
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Fri, 17 Apr 2015 14:36:01 +0200
don't plot last part of smoothed signal
Diffstat:
M python/halfshear-darcy-strength-di… | 2 +-
M python/halfshear-darcy-strength-di… | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/python/halfshear-darcy-strength-dilation-rate.py b/python/halfshear-darcy-strength-dilation-rate.py
t@@ -236,7 +236,7 @@ for c in numpy.arange(0,len(mu_f_vals)):
#alpha=alpha, color=color[c])
# smoothed
- ax1.plot(shear_strain[c][1:], smooth(friction[c], smooth_window)[1:], \
+ ax1.plot(shear_strain[c][1:-100], smooth(friction[c], smooth_window)[1:-100], \
label=label, linewidth=1,
alpha=alpha, color=color[c])
(DIR) diff --git a/python/halfshear-darcy-strength-dilation.py b/python/halfshear-darcy-strength-dilation.py
t@@ -233,7 +233,7 @@ for c in numpy.arange(0,len(k_c_vals)):
#alpha=alpha, color=color[c])
# smoothed
- ax1.plot(shear_strain[c][1:-10], smooth(friction[c], smooth_window)[1:-10],\
+ ax1.plot(shear_strain[c][1:-100], smooth(friction[c], smooth_window)[1:-100],\
label=label, linewidth=1,
alpha=alpha, color=color[c])