Program a GUI layout
Afficher commentaires plus anciens
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.
Réponses (1)
Image Analyst
le 16 Juil 2017
0 votes
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/
Catégories
En savoir plus sur Annotations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!