added captions for shotnumbers in plotArray2D
This commit is contained in:
parent
8e7b2e5b8a
commit
5bb50d5be4
@ -490,7 +490,11 @@ class SeisArray(object):
|
|||||||
plt.legend()
|
plt.legend()
|
||||||
if annotations == True:
|
if annotations == True:
|
||||||
for traceID in self.getReceiverCoordinates().keys():
|
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):
|
def plotArray3D(self, ax = None):
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
|
Loading…
Reference in New Issue
Block a user