So far, whenever I had to use a 3D plot generated in Mathematica in a LaTeX document, I used exported the graphics to either of the following:

  • PDF
  • PNG

file format. Then I could easily include the graphics in my document. However, if the graphics is somehow complicated (for example contains several detailed surfaces), then this method produces poor results. By poor, I mean that either the pdf is of low quality, very "heavy" (i.e. takes long to load) etc. In case of the png option, then problems are clear; in particular the lack of scalability.

I'm interested in the methods you guys are using in this context, namely the workflow Mathematica->Graphics Object->Export->Include in LaTeX document.

closed as off topic by Joseph Wright Sep 3 '11 at 21:55

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    To "lighten" the pdf, would flattening the layers help? Also, I'd think this might be borderline off-topic since it's about getting good graphics out of mathematica, rather than anything specifically LaTeX related... – Seamus Aug 11 '11 at 13:35
  • @Seamus: I'm not sure I know what you mean with your hint. As for the nature of the question; well I disagree with you. I specifically refer to the inclusion of mathematica 3D figure in a LaTeX document. – Dror Aug 11 '11 at 13:42
  • Would you be able to post a Mathematica notebook .nb file that contains the generated graphic in question? I'm assuming the "heavy-ness" is related to the file size, right? – Werner Aug 11 '11 at 15:28
  • 1
    @Werner: More likely to the rendering complexity. – Andrey Vihrov Aug 11 '11 at 15:38
  • @Werner: I cannot provide the .nb file. Sorry. However, what Andrey wrote is the essence of the issue. I guess... – Dror Aug 11 '11 at 19:22