arrowed_line

Function returns data with arrowheads inserted at user-determined frequencies.
148 Downloads
Updated 15 May 2024

View License

This function allows arrowheads to be inserted into a line plot. This allows showing the direction of the line. Input parameters can also change the frequency of the arrowheads and their scale.
Multiple columns of y-axis data can be supplied to and returned by the function to allow plotting multiple arrowed lines in a single figure.
e.g. [x_arrowed, y_arrowed] = arrowed_line(x_orig, y_orig, 1000, 50, 50);

Cite As

Dariusz Maton (2024). arrowed_line (https://www.mathworks.com/matlabcentral/fileexchange/134471-arrowed_line), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

Fixed indexing error.

1.0.0