MathGroup Archive 2002

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

Search the Archive

RE: Export Directory

  • To: mathgroup at
  • Subject: [mg33434] RE: [mg33393] Export Directory
  • From: "David Park" <djmp at>
  • Date: Thu, 21 Mar 2002 09:27:16 -0500 (EST)
  • Sender: owner-wri-mathgroup at


You want to use the ToFileName command. Here is an example of exporting a
plot as a .gif image. (using directories in my Applications folder)

plot1 = Plot[Sin[x], {x, 0, 2 Pi}];

Export[ToFileName[{"AddOns", "Applications", "Communications",
      "MathGroup Responses"}, "sinplot.gif"], plot1, "GIF"]

The file was created in the folder...

"AddOns\\Applications\\Communications\\MathGroup Responses\\sinplot.gif"

David Park
djmp at

> From: Joel Storch [mailto:jstorch at]
To: mathgroup at
> When using the "Export" command to save an eps
> file, it lands up in the "Mathematica 4.0 Files"
> directory (folder). How do I direct the file to
> another destination ?

  • Prev by Date: Re: Problem with 3D Polygon
  • Next by Date: Re: Problem with 3D Polygon
  • Previous by thread: Re: Export Directory
  • Next by thread: Problem with 3D Polygon