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

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)

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 Graphics Objects in Help Center and File Exchange

Tags

Asked:

on 1 Feb 2013

Community Treasure Hunt

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

Start Hunting!