text arrow annotation applying in axes in GUI

4 次查看(过去 30 天)
Why the text arrow does not show up when I apply <annotation('textarrow', X, Y)> in GUI? The related code is shown below, I run it directly in commond window (except the first line) , the text arrow is avaliable in the pop-up figure window. Is there someone can tell me how to add a text arrow in the diagram in GUI? Thank you so much.
axes(handles.process_output);
ezplot(matlabFunction(y),[0,1800]);
axis([0 1800 0 60]);
annotation('textarrow',[0.45 0.45],[0.6 0.7],'String',{'Step disturbance'});

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by