How to plot single axes handles from a GUI?

2 views (last 30 days)
in my program i have
which i would like to open in a seperate figure with all of its properties.
all figure data are inside.
how can it be done?

Accepted Answer

Walter Roberson
Walter Roberson on 12 Feb 2020
Edited: Walter Roberson on 12 Feb 2020
newfig = figure() ;
copyobj(handles.axes_big, newfig);
Note: I do not promise that this will copy colorbar or legend information as those are not really part of the axes.
Also some axes that look like plain drawings turn out to have behavior associated with them that is attached to the figure.

More Answers (0)


Find more on Migrate GUIDE Apps in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by