Plot With Direction

Plot column vectors with arrows pointing to the next elements.
7,1K download
Aggiornato 7 nov 2010

Visualizza la licenza

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 (2026). Plot With Direction (https://it.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 Linux
Categorie
Scopri di più su Vector Fields in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: Plot directed, DIRECTEDPLOT

Versione Pubblicato Note della release
1.1.0.0

Added comment lines

1.0.0.0