arrowPlot(X, Y, varargin)

Version 1.0.0.0 (6.64 KB) by TimeCoder
Plot data with arrows on curve.
956 Downloads
Updated 16 Apr 2017

View License

There are too many people want to plot data with arrows and some MATLAB user share some useful functions to do this. But there are still some problems. Such as if the ratio of X-axis and Y-axis is not equal, the arrows will be out of shape or direct to the wrong direction. My function solve these problems and is simple to use.
Just use arrowPlot(X, Y), it can plot curve just like plot(X, Y) and add 2 arrows to the curve with beautiful arrow shape, on suitable positions, with suitable size, directing to suitable directions. If you are not satisfied with some of the properties of arrows, you can use some options to change the properties by 'varargin' of arrowPlot(X, Y, varargin). For details of using, please see the help text of this function.

Cite As

TimeCoder (2024). arrowPlot(X, Y, varargin) (https://www.mathworks.com/matlabcentral/fileexchange/62587-arrowplot-x-y-varargin), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Vector Fields in Help Center and MATLAB Answers
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.0.0

Add an overview picture of arrowPlot result.