You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
function [h1, h2] = plot_dir (vX, vY)
Plotting x-y variables with direction indicating vector to the next element.
Example
vX = linspace(0,2*pi, 10)';
vY = sin (vX);
plot_dir(vX, vY);
Plot and quiver functions used.
Cite As
Kangwon Lee (2026). Plot With Direction (https://nl.mathworks.com/matlabcentral/fileexchange/1676-plot-with-direction), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Plot directed, DIRECTEDPLOT
General Information
- Version 1.1.0.0 (1.35 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
