GUI seems to be stuck on where I attempted to print the display

2 次查看(过去 30 天)
I recently added a print button on the toolbar of my GUI and since then whenever I start the GUI it immediately goes right back to where I last printed the plot with the same settings. How can I clear the GUI so that I get a fresh start every time I run it and not see the last thing I did?
Thank you

回答(1 个)

Image Analyst
Image Analyst 2013-2-1
编辑:Image Analyst 2013-2-1
I'm not sure if you mean the GUI (figure) with all of its sliders, textlabels, and radio buttons, etc., or the just the plot (axes). But if you want to reset just the current axes containing a plot, you can do
cla reset;

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by