How can I draw a arrow
6 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Robert Cumming
2014-4-9
2 个评论
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 Center 和 File Exchange 中查找有关 Data Exploration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!