Plot With Direction
Versione 1.1.0.0 (1,35 KB) da
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.
Cita come
Kangwon Lee (2024). Plot With Direction (https://www.mathworks.com/matlabcentral/fileexchange/1676-plot-with-direction), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R10
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
Scopri di più su Vector Fields in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato: Plot directed, DIRECTEDPLOT
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.