I have a figure containing an axes, which I minimize after creation. I want to set the current axes to the axes I created, say my_axes, using the AXES command. I execute the following commands in MATLAB to perform this operation:
my_fig=figure;my_axes=axes('position',[.2 .2 .6 .6],'tag','axesVar') % minimize the figure
axes(my_axes); % figure comes to focus
The above command causes the figure with handle my_fig to come into focus.
Best Answer