Skip to content

Commit

Permalink
Improvements to usability of graphs for manual digitization
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Medlin authored and Andrew Medlin committed Apr 30, 2020
1 parent 1afbd71 commit cc5b8d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion seismic/receiver_fn/plot_ccp.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ def plot_ccp(matrx, length, max_depth, spacing, vlims=None, metadata=None, title
plt.tick_params(right=True, labelright=True, axis='y', labelsize=12)
plt.gca().xaxis.set_major_locator(MultipleLocator(50))
plt.gca().xaxis.set_minor_locator(MultipleLocator(5))
plt.gca().xaxis.set_tick_params(which='both', top=True)
plt.gca().yaxis.set_major_locator(MultipleLocator(10))
plt.gca().yaxis.set_minor_locator(MultipleLocator(1))
plt.gca().yaxis.set_tick_params(which='minor', right=True)
plt.grid(color='#80808080', linestyle=':')
plt.grid(color='#808080', which='major', linestyle=':', alpha=0.5)
plt.grid(color='#a0a0a0', which='minor', linestyle=':', alpha=0.2, linewidth=0.5)

if metadata is not None:
stn_labels = []
Expand Down

0 comments on commit cc5b8d7

Please sign in to comment.