displaying values
2 次查看(过去 30 天)
显示 更早的评论
I have a sine wave,in which i have take positive curve(upper curve), now if i click anywhere in that graph i want to display values of x,y,using gui ,please help
0 个评论
采纳的回答
Oleg Komarov
2012-2-24
Check the examples.
EDIT the simplest example
function myGUI
figure('menubar','none','name','myGUI','numbertitle','off','resize','off');
plot(1:10)
datacursormode
end
5 个评论
Oleg Komarov
2012-2-27
You have to save it as a function and then call the function myGUI to see the effect.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!