MATLAB: How to plot single axes handles from a GUI clipboardfigureguiguideMATLAB in my program i have handles.axes_big 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? Best Answer 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. Related SolutionsMATLAB: Print specific figure in GUI Hi,the error message tells you the problem: you can only print figures, not axes. I assume though, that handles.axes2 is an axes handle, not the figure handle. You probably need to haveh = handles.figure1;instead.Titus MATLAB: How to copy the plot in a figure to a clipboard to paste to an external application outside MATLAB The PRINT function can be used in the following format:print -dmeta -nouiin a GUI callback. The attached GUI shows how this behavior can be achieved. To try this sample, please follow these steps:1) Download the attached files.2) Run the program and in the GUI, click on the push button.3) Open MS-Word and type Ctrl+V (Paste). Related QuestionGUI axes handleSave figure in GUIBasic Axes Handle questionCopying all contents of a figure into another figure in Matlab GUIDE by clicking on a figureHandles.
Best Answer