% drawArrow(p0,p1,color)
%
% Draws a simple arrow in 2D, from p0 to p1.
%
% INPUTS:
% p0 = [x0; y0] = position of the tail
% p1 = [x1; y1] = position of the tip
% color = arrow color. Optional: default is black
% --> can be 'r','g','b','c','m','y','w', 'k' or a 1x3 color vector
%
% OUTPUTS:
% hArrow = handle to the patch object representing the arrow
%
인용 양식
Matthew Kelly (2025). drawArrow (https://kr.mathworks.com/matlabcentral/fileexchange/55181-drawarrow), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2015a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Polygons에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0.0 |
