Thread Subject:
Copying hggroup objects

Subject: Copying hggroup objects

From: Dima

Date: 6 Jul, 2012 00:16:19

Message: 1 of 1

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.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
copyobj Dima 5 Jul, 2012 20:19:22
hggroup Dima 5 Jul, 2012 20:19:22
rssFeed for this Thread

Contact us