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.

回答(2 个)

Walter Roberson
Walter Roberson 2012-9-17

Image Analyst
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

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by