Re: Export Directory
- To: mathgroup at smc.vnet.net
- Subject: [mg33442] Re: [mg33393] Export Directory
- From: Murray Eisenberg <murraye at attbi.com>
- Date: Thu, 21 Mar 2002 09:27:30 -0500 (EST)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200203200652.BAA07937@smc.vnet.net>
- Reply-to: murray at math.umass.edu
- Sender: owner-wri-mathgroup at wolfram.com
For a single export, just give the entire path as the filename argument. For example: g = Plot[x^2, {x, -1, 1}]; Export["c:\\mydata\\plot.eps", g, "EPS"] The above path format, with doubled backslashes, works for the Windows platform. (Single backslashes in a string may be interpreted as escape characters.) To change the directory for multiple exports at the current sesssion, you may use SetDirectory. For example: SetDirectory["c:\\mydata"] Export["plot.eps", g, "EPS"] Joel Storch wrote: > > 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 ? -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street Amherst, MA 01375
- References:
- Export Directory
- From: Joel Storch <jstorch@earthlink.net>
- Export Directory