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

2 views (last 30 days)
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

Answers (1)

Image Analyst
Image Analyst on 1 Feb 2013
Edited: Image Analyst on 1 Feb 2013
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;

Categories

Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!