Failed to save .eps file
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I use matlab to save a figure as .eps file. However, the file can not work with Latex editor as it converts the .eps figure into blank .pdf file. Any suggestion please?
0 comentarios
Respuestas (1)
Stephen23
el 23 de Abr. de 2020
Editada: Stephen23
el 23 de Abr. de 2020
"However, the file can not work with Latex editor as it converts the .eps figure into blank .pdf file. Any suggestion please?"
Most likely you are actually compiling your document with pdflatex, which is the default for most installations these days (not basic LaTeX, which compiles only to DVI files). It is very important to note that pdflatex does not directly handle EPS files, it will correctly handle pdf, png and jpg only:
The simple workaround is to use the epstopdf package, so put this at the top of your LaTeX document:
\usepackage{graphicx}
\usepackage{epstopdf} % must come after GRAPHICX
And also specify the filename without an extension, i.e.:
\includegraphics{picture}
and it will automatically convert the EPS files into PDF and include them in your document.
1 comentario
Ver también
Categorías
Más información sobre Printing and Saving en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!