arrowflow

버전 1.0.0.0 (3.4 KB) 작성자: Patrick Toche
Plot L-shaped arrows of motion for phase diagram. Manually select 4 directions.
다운로드 수: 1K
업데이트 날짜: 2016/3/29

라이선스 보기

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;

인용 양식

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

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Polar Plots에 대해 자세히 알아보기
도움

받음: arrow

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

BSD