diff scripts/plot/quiver.m @ 7130:5eeb46c784d7

[project @ 2007-11-08 15:27:23 by jwe]
author jwe
date Thu, 08 Nov 2007 15:28:41 +0000
parents c0d9ac299176
children e8d953d03f6a
line wrap: on
line diff
--- a/scripts/plot/quiver.m
+++ b/scripts/plot/quiver.m
@@ -179,8 +179,8 @@
     ytmp = y + v(:) .* (1 - arrowsize);
     xarrw1 = xtmp + (y - yend) * arrowsize / 3;
     xarrw2 = xtmp - (y - yend) * arrowsize / 3;
-    yarrw1 = ytmp + (x - xend) * arrowsize / 3;
-    yarrw2 = ytmp - (x - xend) * arrowsize / 3;
+    yarrw1 = ytmp - (x - xend) * arrowsize / 3;
+    yarrw2 = ytmp + (x - xend) * arrowsize / 3;
 
     if (have_line_spec)
       if (isfield (linespec, "marker") &&