how to copy and paste image to other figure?

3 次查看(过去 30 天)
Hi, I create a color plot in figure A as
A=rand(512,512);
pcolor(A); shading flat;
axis off;
axis image;
Then I click the image and copy it. I have a figure B (already has some plot there). I am going to paste the selected image to B and make it smaller as inset. But I found that when I paste the image, it will create a axis and there show some margin between the image and the axis. I cannot change the size of the paste image. How can I copy and paste the image only (not include the axis) and I can freely change the size of the paste image? Thanks.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by