Program a GUI layout

1 次查看(过去 30 天)
Philip Mavis`
Philip Mavis` 2017-7-16
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.

回答(1 个)

Image Analyst
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/
or this MAGIC

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by