How can I export this as a vector image?
57 次查看(过去 30 天)
显示 更早的评论
Hello,
normally I can easily export matlab figures (that do not have a gradient) to Powerpoint simply by copy-pasting it. I just need to set the "copy options" to "metafile". Upon pasting it in Powerpoint I just try to ungroup it, done.
However, for the attached figure this does not work. It stays a graid/pixel image in Powerpoint.
Any idea why?
Thanks,
Toby
0 个评论
回答(1 个)
waqas
2020-7-22
I would suggest the add
set(gcf,'color','w')
before using export_fig function. This way you can avoid gray boundaries. May be storing in PNG would be good too if you just want to use the image in powerpoint. Otherwise, you can also save the images in eps format. Following line would do the job once you have added the functions from Add-ons.
export_fig name.png -m2.5
4 个评论
waqas
2020-7-26
Well if you want to use eps/pdf for publication then I used the same method as I mentioned above only changed the format to eps and it worked fine for me! I also imported the eps file to LaTex to see the quality. It looks the same to me.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/337318/image.png)
I cannot upload the file here so giving the drive link for you to download and see. google drive
Regarding PNG, if you know the dimensions that you will be setting in the final plot then a PNG format file once saved would have enough detailed information.Just a disclaimer, this is my personal opinion.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Printing and Saving 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!