필터 지우기
필터 지우기

How can I draw a arrow

조회 수: 3 (최근 30일)
sina farahi
sina farahi 2014년 4월 9일
댓글: Robert Cumming 2014년 4월 10일
How can I plot/draw a vector(with first point and it's length and direction) I want it with it's head(be arrow not only a line) an arrow by its location and size and direction

답변 (1개)

Robert Cumming
Robert Cumming 2014년 4월 9일
See annotation for drawing arrows.
  댓글 수: 2
sina farahi
sina farahi 2014년 4월 9일
annotation('arrow',x,y) doesn't works ;how does it works(what are x & y) thanks
Robert Cumming
Robert Cumming 2014년 4월 10일
x and y are the normalised co-ordinates of the start and end position:
f = figure;
ax = axes('parent', f);
annotation ( 'arrow', [0 1], [0.25 0.5] )

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by