Add arrows to an image
25 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Stephen23
am 17 Sep. 2016
Bearbeitet: Stephen23
am 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 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!