Sounds like you've already been shown how to do that, but if you need more examples, see the tutorials on GUIDE http://blogs.mathworks.com/videos/category/gui-or-guide/
Program a GUI layout
1 次查看(过去 30 天)
显示 更早的评论
Program a GUI layout as shown in the figure below. (Hint: to create the axes in the figure, and position them at the desired place, look up and use the axes command.) Subsequently, create CallBacks for all the buttons. The Grid button, should toggle the grid on and off (hint: you don’t need to analyse whether there is grid already, directly use “grid” as the CallBack – this will toggles the grid on and off) ; the Random colour button should colour the plotting space in a random colour ; the Random plot button should plot a random line graph with a random number of points on it (between 3 to 300); and, finally, the Hide button should hide the plot.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!