Program a GUI layout
2 ビュー (過去 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 件)
Image Analyst
2017 年 7 月 16 日
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/
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!