Plot With Direction
Version 1.1.0.0 (1,35 ko) par
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.
Citation pour cette source
Kangwon Lee (2026). Plot With Direction (https://fr.mathworks.com/matlabcentral/fileexchange/1676-plot-with-direction), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R10
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
En savoir plus sur Vector Fields dans Help Center et MATLAB Answers
Tags
Remerciements
A inspiré : Plot directed, DIRECTEDPLOT
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.0 | Added comment lines |
||
| 1.0.0.0 |
