Plot With Direction
Version 1.1.0.0 (1,35 KB) von
Kangwon Lee
Plot column vectors with arrows pointing to the next elements.
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.
Zitieren als
Kangwon Lee (2026). Plot With Direction (https://de.mathworks.com/matlabcentral/fileexchange/1676-plot-with-direction), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R10
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
Mehr zu Vector Fields finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert: Plot directed, DIRECTEDPLOT
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.1.0.0 | Added comment lines |
||
| 1.0.0.0 |
