I want to plot my graph either in GUI axes or in a separate figure As Walter recommended ( http://www.mathworks.com/matlabcentral/answers/22208-show-figure) I could switch to figure() using
if PlotInFigurehandles.Fig1_axes=axes('Parent',figure(1));endplot(handles.Fig1_axes,x,y,'-b'),
Now I want to plot my graph in GUI axes during the next run of my code (with a different value of checkbox, for instance)
if ~PlotInFigure???endplot(handles.Fig1_axes,x,y,'-b'),
How can I do it? Thanks!
Best Answer