Plot With Direction

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

Ver licencia

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.

Citar como

Kangwon Lee (2024). Plot With Direction (https://www.mathworks.com/matlabcentral/fileexchange/1676-plot-with-direction), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R10
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Vector Fields en Help Center y MATLAB Answers.
Agradecimientos

Inspiración para: Plot directed, DIRECTEDPLOT

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.1.0.0

Added comment lines

1.0.0.0