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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!