Add arrows to an image
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.
Answers (1)
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:
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!