MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: importing a mathematica plot in a latex file

  • To: mathgroup at
  • Subject: [mg65767] Re: [mg65732] importing a mathematica plot in a latex file
  • From: "Szabolcs Horvát" <szhorvat at>
  • Date: Mon, 17 Apr 2006 02:28:04 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

On 4/16/06, ff2154 <fumarola at> wrote:
> [This post has been delayed due to email problems - moderator]
> I hope this question will not sound too extraneous to the main topic of
> the newsgroup.
> I am wondering how a plot done by Mathematica for some function can be
> inserted inside a file .tex. Thanks to anyone who may give some hint on
> regard.

Mathematica can export graphics in many formats. Take a look at the
documentation of the Export[ ] function. If you'd like to include your
plot in a TeX/LaTeX document it is recommended that you use a vector
format for exporting, such as EPS or PDF.

You can include these formats in LaTeX documents with the graphicx
package (export to pdf if you use pdflatex), or any other LaTeX
package written for this purpose.

The problem with Mathematica plots is that when displayed in
Mathematica, the fonts do not appear in the correct size (and their
size doesn't change when I resize the plot), so the exported eps or
pdf will look a little different. Does anyone know a solution to this

Szabolcs Horvat

  • Prev by Date: Initial conditions for DAE
  • Next by Date: Re: Plot3D: plot does not display when PlotPoints different from 25. Mathematica 5.2
  • Previous by thread: Re: importing a mathematica plot in a latex file
  • Next by thread: Re: Where do I put my own add-on packages?