|
Hi,
I am trying to completely copy one figure into the other one. However, textboxed and other such stuff do not copy normally!!!! So, let's h1 be the handle of the figure which I want to copy. I do
h2=figure;
set(0,'ShowHiddenHandles','on');
ax=findobj(h1,'type','axes');
copyobj(ax,h2);
set(0,'ShowHiddenHandles','off');
It copies all things contained in figure, including textboxes (group objects). However, such copied textboxes become non-editable and does not adjust text position to the figure size when I resize it. Why???????? When I copy directly corresponding hggroup objects situation is the same. So does anybody know how to normally copy textboxes from one figure to the other?
Thanks in advance.
|