In my GUI, I run 2 plots on separate axes in OpeningFcn. When The GUI becomes visible, one has been plotted (the first one in the code) but the other axes are blank momentarily while it waits for the plot to finish. This looks very sloppy - how can I make the GUI wait until both plots are finished before it becomes visible?
Prashant Kumar answered .
2025-11-20
In the opening function
set(handles.figure1,'visible','off');
Then when you're done with all of that plotting stuff:
set(handles.figure1,'visible','on');,/pre>
Note: figure1 is the default GUIDE tag; you will have to use whatever tag you defined the figure by.