I´d like to draw an arrow with annotation
in a specific axes in my GUI.
At the moment I have this GUI with two axes:
I already can draw an arrow to axes2 in my GUI but not to a chosen one. My Code so far:
How do I fit the annotation for example to axes1 and not tpo axes2?
arrow_p1 = [0.5 1]; % Startpunkt x1,y1
arrow_p2 = [0 -1]; % Breite des Pfeils = 0 und Länge des Pfeils mit Richtung -1 (nach unten)
h=annotation('textarrow','String','Mat. Fluss '); % arrow, doublearrow, textarrow
set(h,'parent', gca, 'position', [arrow_p1,arrow_p2], ...
'HeadLength', 5, 'HeadWidth', 5, 'HeadStyle', 'vback2', ...
'Color', [0 0 0], 'LineWidth', 0.5);