title: How to draw good looking arrows in Matlab?
body: <p>I have been trying to draw arrows in Matlab in my figure but they all look terrible.
  Also, I want my arrowhead to be a solid triangle, not a V.</p>
  
  <p>I tried using the packages available on the Matlab File Exchange: arrow, arrows, arrows3, and probably at least one other one.</p>
  
  <p>I even tried manually creating an arrow in the Matlab figure editor, but when I adjust the line width, the arrow looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/WwtBm.png" alt="enter image description here"></p>
  
  <p>I used the <strong><em>annotation</em></strong> command to create the arrow above:</p>
  
  <pre><code>annotation(gcf,'arrow',[0.621875 0.457916666666667],...
                         [0.205421152030217 0.40755429650614],...
                         'HeadLength',4,'LineWidth',5);
  </code></pre>
  
  <p>Here's the result trying to use the <strong><em>arrow</em></strong> package available here: <a href="http://www.mathworks.com/matlabcentral/fileexchange/278-arrow-m" rel="nofollow noreferrer">Arrow.m</a> (notice how the bottom arrow head is not perpendicular to the line:</p>
  
  <p><img src="https://i.stack.imgur.com/FvJlg.png" alt="enter image description here"></p>
  
  <p>I even tried the following and here is the result below (notice the terrible looking arrowhead):</p>
  
  <pre><code> figure
   plot(1:10, 1:10)
   annotation(gcf,'arrow',[0.621875 0.457916666666667],...
                          [0.205421152030217 0.40755429650614],...
                          'HeadLength',4,'LineWidth',5);
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/ipiXX.png" alt="enter image description here"></p>