From add4944c0504660ad9281a632d851120dd8856cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Tue, 23 Jun 2015 12:18:45 +0200 Subject: [PATCH] Marginal changes. --- pylot/core/pick/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pylot/core/pick/utils.py b/pylot/core/pick/utils.py index 166816ad..f16e8ffe 100644 --- a/pylot/core/pick/utils.py +++ b/pylot/core/pick/utils.py @@ -89,7 +89,7 @@ def earllatepicker(X, nfac, TSNR, Pick1, iplot=None): p2, = plt.plot(t[inoise], x[inoise]) p3, = plt.plot(t[isignal], x[isignal], 'r') p4, = plt.plot([t[0], t[int(len(t)) - 1]], [nlevel, nlevel], '--k') - p5, = plt.plot(t[isignal[0][zc]], np.zeros(len(zc)), '*g', + p5, = plt.plot(t[isignal[zc]], np.zeros(len(zc)), '*g', markersize=14) plt.legend([p1, p2, p3, p4, p5], ['Data', 'Noise Window', 'Signal Window', 'Noise Level', @@ -105,8 +105,6 @@ def earllatepicker(X, nfac, TSNR, Pick1, iplot=None): [max(x) / 2, -max(x) / 2], 'r--') plt.xlabel('Time [s] since %s' % X[0].stats.starttime) plt.yticks([]) - ax = plt.gca() - ax.set_xlim([t[inoise[0][0]] - 2, t[isignal[0][len(isignal) - 1]] + 3]) plt.title( 'Earliest-/Latest Possible/Most Likely Pick & Symmetric Pick Error, %s' % X[0].stats.station)