Code covered by the BSD License  

Highlights from
line2arrow: Add an arrowhead to a plotted line

Be the first to rate this file! 20 Downloads (last 30 days) File Size: 4.75 KB File ID: #31473
image thumbnail

line2arrow: Add an arrowhead to a plotted line

by Kelly Kearney

 

17 May 2011

Combines line plotting with annotation arrows.

| Watch this File

File Information
Description

Plotting an arrow in axis coordinate space can be difficult, since Matlab's built-in arrow function works in figure coordinate space. This function does the axis-to-figure coordinate calculation and places an annotation arrow in the correct location. It also provides a button-down function to re-sync the line and arrow if you resize the axis or figure, or change the line properties.

MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
line Kelly Kearney 18 May 2011 13:32:10
arrow Kelly Kearney 18 May 2011 13:32:10
line swayambhoo 20 Nov 2011 18:01:24

Contact us at files@mathworks.com