Axes WIndows in Guide Disappearing

2 views (last 30 days)
Amanda
Amanda on 11 Sep 2012
I have four axes windows in the GUI GUIDE displaying plots.
I have designated the data to be plotted for axes 1, axes 2, axes 3, and axes 4.
However when I switch between them, the axes windows disappear until I re-click
on the axes blank window again. Then it reappears.
Is there a way for all the windows to be fixed while switching between
axes windows?
Thanks,
Amanda

Accepted Answer

Matt Fig
Matt Fig on 11 Sep 2012
What do you mean by 'switching between' the axes? Just to be clear, in MATLAB a window is called a figure. So do you mean you have 4 open figures, besides your GUI, or do you mean that your GUI has for axes on it (only one figure, the GUI, is open)?
  5 Comments
Amanda
Amanda on 11 Sep 2012
I found the problem. I need to cla(handles.axes1,'reset') for each axes and not cla;

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!