From dd0103956b606d1c5b026e1812c51b388fde2016 Mon Sep 17 00:00:00 2001 From: hvasbath Date: Thu, 18 Jul 2019 21:53:10 +0200 Subject: [PATCH] plotting: slip distribution fix uperp direction --- beat/plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beat/plotting.py b/beat/plotting.py index 6015d963..6ebc1e63 100644 --- a/beat/plotting.py +++ b/beat/plotting.py @@ -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()