Azzera filtri
Azzera filtri

how to copy and paste image to other figure?

3 visualizzazioni (ultimi 30 giorni)
Ki
Ki il 21 Mag 2016
Modificato: Azzi Abdelmalek il 21 Mag 2016
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.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by