Insert vector graphic from Matlab to Word
13 次查看(过去 30 天)
显示 更早的评论
Hello together,
i know its a often discussed topic. But i haven't found any solution for me. I have some plots, which i need to import in Word 2013 afterwards the docx is saved as pdf.
The problem is:
If the plot gets saved (with the function print() ) as .eps or emf and imported in Word, the downsampled placeholder of the graphics look pretty poor and the graphics in pdf are no vector grapic anymore. They do get turned into a bitmap and by zooming in a bit, one can see the pixels. If i use Edit -> Copy Figure in the Matlab figure and paste it in Word, i get a nice graphic in Word as well as a nice vector based graphic in the pdf file.
Is there a way, to save a figure to a file and import it to Word and have the same quality like i have by copy and paste? What is the difference between these methods?
Thank you for your help.
Rafael
0 个评论
采纳的回答
Jan
2016-10-19
Export the graphics using print to EPS creates pixel images, when the OpenGL renderer is active. So try to enable 'Painters' manually bevor printing:
set(FigureH, 'Renderer', 'painters');
Even then the pixel preview of the vector file is displayed in Word, but only on the monitor. When exported to a PDF the vector graphics are embedded.
4 个评论
Erik Petrini
2018-3-29
I would really need a working solution for Simulink system plots. The following snags are plaguing me:
You cannot save Simulink block diagrams in PostScript or EPS formats.
SVG format corrupts the font and is not recognized by word 2010 which is the version available to me in my organization.
PDF format import in words always corrupts the final text annotation of any system export (it is not imported as part of picture but rather as malformed text in the end).
EMF is not available since our organization runs Matlab (2016b) on CentOS.
Out of options for vector graphics (?)
If at least there was some way to get PDF export/import to work bug-free that would be a viable way forward.
Michael Vladimirov
2020-12-9
This is a very old thread, but for anyone reading in the future:
Translation begween PDF and EPS formats (as well as DXF/DWG) is pretty trivial with most vector art platforms (Adobe Illustrator, InkScape, etc) and there are countless free online converters availble, too.
Also, Simulink (as of summer 2019) has a super reliable block diagram PDF export. Simply print your your Simulink project, but select print as PDF instead of the printer you would normally use. I've used this feature multiple times for some fairly complex projects, never had a single issue.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Specifying Target for Graphics Output 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!