Copy datatip to other axes

I'm plotting an image (stored in variable image_points) with imagesc and selecting points using the datacursormode.
h = figure();
imagesc(image_points);
dcm_obj = datacursormode;
Now I'd like to copy the selected points into the axes of another figure. I have managed to find the objects of the datatips by using:
datatips = findall(gcf,'Type','hggroup','HandleVisibility','off','Draggable','on');
Can you please tell me how to copy the datatips to another figure?
Thanks in advance!

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Asked:

on 2 Mar 2015

Commented:

on 2 Mar 2015

Community Treasure Hunt

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

Start Hunting!