RE: Export Directory
- To: mathgroup at smc.vnet.net
- Subject: [mg33434] RE: [mg33393] Export Directory
- From: "David Park" <djmp at earthlink.net>
- Date: Thu, 21 Mar 2002 09:27:16 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Joel,
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 earthlink.net
http://home.earthlink.net/~djmp/
> From: Joel Storch [mailto:jstorch at earthlink.net]
To: mathgroup at smc.vnet.net
>
> 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 ?
>