Program a GUI layout

1 visualizzazione (ultimi 30 giorni)
Philip Mavis`
Philip Mavis` il 16 Lug 2017
Risposto: Image Analyst il 16 Lug 2017
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.

Risposte (1)

Image Analyst
Image Analyst il 16 Lug 2017
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/
or this MAGIC

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by