From 5bb50d5be4025bb1fbf32f3475eff68fbbaf76bf Mon Sep 17 00:00:00 2001 From: Marcel Paffrath Date: Thu, 8 Oct 2015 12:16:03 +0200 Subject: [PATCH] added captions for shotnumbers in plotArray2D --- pylot/core/active/seismicArrayPreparation.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pylot/core/active/seismicArrayPreparation.py b/pylot/core/active/seismicArrayPreparation.py index 65226423..2eeab244 100644 --- a/pylot/core/active/seismicArrayPreparation.py +++ b/pylot/core/active/seismicArrayPreparation.py @@ -490,7 +490,11 @@ class SeisArray(object): plt.legend() if annotations == True: for traceID in self.getReceiverCoordinates().keys(): - plt.annotate(str(traceID), xy = (self._getXreceiver(traceID), self._getYreceiver(traceID)), fontsize = 'x-small') + plt.annotate((' ' + str(traceID)), xy = (self._getXreceiver(traceID), self._getYreceiver(traceID)), fontsize = 'x-small', color = 'k') + for shotnumber in self.getSourceLocations().keys(): + plt.annotate((' ' + str(shotnumber)), xy = (self._getXshot(shotnumber), self._getYshot(shotnumber)), fontsize = 'x-small', color = 'b') + + def plotArray3D(self, ax = None): import matplotlib.pyplot as plt