Add arrows to an image
27 ビュー (過去 30 日間)
古いコメントを表示
Hi there all. I have a question here.
How could I add an arrows on an image? For example, I want to point to somewhere of the image, and put some text to describe it.
Thanks in advance of your help.
0 件のコメント
回答 (1 件)
Stephen23
2016 年 9 月 17 日
編集済み: Stephen23
2016 年 9 月 17 日
The easiest way is to use an annotation, which places text and an arrow on a plot. Here an example from the documentation:
figure
plot(1:10)
x = [0.3 0.5];
y = [0.6 0.5];
annotation('textarrow',x,y,'String','y = x ')
If you want to use arrows by themselves, you can download some of the FEX submissions that draw arrows:
etc:
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!