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);
引用格式
Dariusz Maton (2024). arrowed_line (https://www.mathworks.com/matlabcentral/fileexchange/134471-arrowed_line), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2023a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!