File Exchange Pick of the Week

May 29th, 2009

Arrows of All Kinds

Jiro's pick this week is arrow by Erik Johnson.

This brings back memories from my graduate school days. As you can see, this file by Erik was originally submitted back in 2000, which was the year I started using MATLAB. Soon after, I was looking for a function to create some custom arrows on figures. I came across this entry and have used it many times in my research.

A couple things I really like about this file are the fact that he maintains backwards compatibility to make sure it runs in older releases of MATLAB (as old as MATLAB 6.x), and that you can customize everything about the arrow, ranging from arrow head angles to width of the arrow stem.

Download and give it a try!

Comments?


Get the MATLAB code

Published with MATLAB® 7.8

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


MathWorks

Brett & Jiro share their favorite user-contributed submissions from the File Exchange.

These postings are the author's and don't necessarily represent the opinions of The MathWorks.