Add arrows to an image
27 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Stephen23
on 17 Sep 2016
Edited: Stephen23
on 17 Sep 2016
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 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!