Problem in copying figure in MATLAB 2014b
6 次查看(过去 30 天)
显示 更早的评论
There is a problem in copying figure in MATLAB 2014b.
When I copy a figure to clipboard in metafile format, that figure is distorted when pasted.
For example, I have following figure.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146511/image.jpeg)
After copying the figure in metafile format and pasting it, this figure becomes
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146512/image.jpeg)
Of course, this figure is not distorted when copied in bitmap format and pasted.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146513/image.jpeg)
There wasn't such problem like this when I was using MATLAB2013a before. Is it a bug in MATLAB2014b? And how can I fix this problem?
0 个评论
回答(4 个)
Manuel Brose
2017-5-18
编辑:Manuel Brose
2017-5-18
It happens also on my 2014b version. The first "copy figure" works just fine but after copying it again figures get distorted. I've found out, that it doesn't matter how it's saved, e.g., having it on clipboard or saving it directly as emf. It seems that MATLAB can't handle the copy figure procedure after some unknown circumstances. A simple workaround which helps at the moment: Restart MATLAB, run script and i can copy all figures multiple times without having any distortions.
Ehsan Asadi
2015-2-18
try this:
in the figure, go to edit>copy option> select metfile
it worked for me.
now I can easily use copy option with high quality.
Henrik Åsheim
2015-2-26
I have found the metafile option works fine for simpler single graph things, but troubles with some subplot I have.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!