1

I'm using quiver() to show flow magnitude and direction, but the arrow heads are tiny, as you can see in the figures. The arrows are scaled by AutoScaleFactor=0.1, to prevent the lines from overlapping. Changing MaxHeadSize doesn't do anything!

quiver plot[![][1]]2

I've read ALL the previous questions on changing the arrowhead size and style, and even downloaded some functions from MatlabCentral. But nothing seems to work. I guess the data structure of the quiver plot was changed in one of the recent Matlab versions. Specifically (taken from: In Matlab how do I change the arrow head style in quiver plot?),

hq1 = quiver(x,y,u,v);
hkid = get(hq1,'children');

results in hkid=empty.

When I tried to use annotation() I ended up with arrows of odd shape and location.

Any help will be appreciated (including referral to an R package), thanks in advance.

Community
  • 1
  • 1
Inbal H
  • 33
  • 1
  • 6
  • 2
    Have you actually tried [this](http://stackoverflow.com/a/18776335/2586922)? (Keep a copy of original file!) – Luis Mendo Jan 10 '16 at 21:56
  • @LuisMendo: I couldn't find this file path for 2015b. I found refresh.m but it didn't have any of these parameters. – Inbal H Jan 11 '16 at 06:51

1 Answers1

2

There is an up-to-date version of the quiver-to-annotation code that control for the arrow size and head width/size separately here:

In Matlab how do I change the arrow head style in quiver plot?

Here is the figure

enter image description here

Community
  • 1
  • 1
marsei
  • 7,691
  • 3
  • 32
  • 41