How to inclued a matlab figure in latex docmument?
2 次查看(过去 30 天)
显示 更早的评论
I used Texworks, pdflatex compiler. I saved a matlab figure using the comment print -deps lote.eps. I used following comments \begin{figure} \centering \includegraphics{lote.eps} \end{figure} But I got error that LaTeX Warning: File `lote.eps' not found on input line 51.
! LaTeX Error: Unknown graphics extension: .eps.
I used pdf instead of eps, again I gor error. I have tried a number of times. Please help me.
0 个评论
回答(2 个)
Walter Roberson
2012-9-17
pdflatex does not support including eps, See http://amath.colorado.edu/documentation/LaTeX/reference/figures.html
0 个评论
Image Analyst
2012-9-17
For what it's worth, from the FAQ:
MATLAB and LaTeX: Arno Linnemann has written an M-file to simplify the inclusion of MATLAB graphics into LaTeX documents, along with a nice document of tips and tricks. http://www.uni-kassel.de/~linne/matlab/WelcomeEng.html
0 个评论
另请参阅
类别
在 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!