Skip to content

Commit

Permalink
plotting: slip distribution fix uperp direction
Browse files Browse the repository at this point in the history
  • Loading branch information
hvasbath committed Jul 18, 2019
1 parent cca4e25 commit dd01039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beat/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -2754,7 +2754,7 @@ def draw_quivers(
ax, uperp, uparr, xgr, ygr, rake, color='black',
draw_legend=False, normalisation=None, zorder=0):

angles = num.arctan2(uperp, uparr) * \
angles = num.arctan2(-uperp, uparr) * \
(180. / num.pi) + rake

slips = num.sqrt((uperp ** 2 + uparr ** 2)).ravel()
Expand Down

0 comments on commit dd01039

Please sign in to comment.