How to inclued a matlab figure in latex docmument?

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.

Answers (2)

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

Categories

Find more on Printing and Saving in Help Center and File Exchange

Tags

Asked:

on 17 Sep 2012

Community Treasure Hunt

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

Start Hunting!