best way to include mesh plot in latex
조회 수: 5 (최근 30일)
이전 댓글 표시
hi there, As the subject suggests, I really am not sure on whats the best way to import a mesh plot generated in matlab to latex. For regular 2D plots I use matlab2tikz and I am pretty happy about that. For the mesh plot I have tried the matlab2tikz method but it produces a very large file and latex ends up giving me an error about running out of memory. The other methods which I have not tried are the ones where one converts a mesh to a U3D pdf. But this is a pdf object that one can interact with and I dont really need the viewers of my pdf to be able to do that. Also I have tried rasterising the mesh and including the png but that looks pretty bad. I just want to be able to include one view of the mesh but I want it to look as good as the vector graphics that matlab2tikz generates. If there are any other ways please let me know.
thank you for your time
댓글 수: 0
채택된 답변
Jonathan Epperl
2013년 4월 8일
Here's what I do: I export the figure with export_fig ( http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig) into a pdf, then I embed it into my document using the graphicx package, then I compile it using pdflatex. I think that export to eps + latex also works, but that's not what I do.
If you do that, what remains to be wanted?
댓글 수: 2
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!