Skip to content
Snippets Groups Projects
Commit 2a8feb21 authored by giuliaghirardini's avatar giuliaghirardini Committed by Marco Luigi Gaibotti
Browse files

[export-standardized-figure][utilities] Fixed overlaying figures bug

parent a9e97932
No related branches found
No related tags found
No related merge requests found
...@@ -178,7 +178,7 @@ previewButton = uibutton(fig, 'Text', 'Update preview', ... ...@@ -178,7 +178,7 @@ previewButton = uibutton(fig, 'Text', 'Update preview', ...
obj = findall(selectedFig, 'Type', 'figure'); obj = findall(selectedFig, 'Type', 'figure');
% Delete any existing axes % Delete any existing axes
delete(findall(uiPanel, 'Type', 'figure')); delete(findall(uiPanel, 'Type', 'axes'));
% Copy the axes into the UI Panel % Copy the axes into the UI Panel
newAx = copyobj(obj.Children, uiPanel); newAx = copyobj(obj.Children, uiPanel);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment