arrowflow

Plot L-shaped arrows of motion for phase diagram. Manually select 4 directions.
1K download
Aggiornato 29 mar 2016

Visualizza la licenza

Usage:
arrowflow(x,y,sx,sy,r);
Input:
x,y : initial position coordinates
default is 0,0
sx,sy : scaling of arrows along x and y coordinates
as a percentage of axis length, e.g. 10%
default is 10,10
r : angle of rotation
r=1 --> East-North
r=2 --> North-West
r=3 --> West-South
r=4 --> South-East
default is 1

Output:
h : handles of plot of the arrows
Example:
figure;
plot(0:0,1:1);
plot(0:1,1:0);
arrowflow(1/3,2/3,0,0,1);
arrowflow(2/3,2/3,0,0,3);

Issues:
To keep arrows of same length requires:axis square;

Cita come

Patrick Toche (2024). arrowflow (https://www.mathworks.com/matlabcentral/fileexchange/23903-arrowflow), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2008a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Polar Plots in Help Center e MATLAB Answers
Riconoscimenti

Ispirato da: arrow

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

BSD