Mathematica 9 is now available

Export

Export["file.ext", expr] exports data to a file, converting it to a format corresponding to the file extension ext.
Export["file.ext", expr, "format"] exports data to a file, converting it to the specified format.

Export can handle numerical and textual data, graphics, and material from notebooks. The following file formats are supported: "BMP", "CSV", "DXF", "DICOM","EPS", "FITS", "GIF", "HDF", "JPEG", "List", "MAT", "MatrixMarket","PICT","PNG", "STL", "SVG" and "Table".
• Machine-precision numbers are by default written to six-digit precision.
• In List and Table format, numbers are written in C or Fortran-like "E" notation when necessary.
• In Table format, columns are separated by spaces.
Export["name.txt", expr, "format"] exports data to a text file. The format should be specified as "List" or "Table".
Export["name.dat", expr] exports data in the "Table" format.
• All graphics formats in Export can handle any type of 2D or 3D Mathematica CalcCenter graphics.
• They can also handle Notebook and Cell objects.
• In some formats, lists of frames for animated graphics can be given.

• See also: ImportData.

Examples

Using InstantCalculators

Windows

Here are the InstantCalculators for the Export function. Enter the parameters for your calculation and click Calculate to see the result.

This exports the specified list or matrix as a text file. The file will be written to the specified directory.

This generates a graphic and exports it as a GIF file. The file will be written to the specified directory.

This generates a graphic and export it as a specific file type. The file will be written to the specified directory.

This generates some data and exports it as a specific file type. The file will be written to the specified directory.

Macintosh

Here are the InstantCalculators for the Export function. Enter the parameters for your calculation and click Calculate to see the result. You will need to substitute the name of your Macintosh drive in place of "Macintosh HD" in the example shown below for the commands to work.

This exports the specified list or matrix as a text file. The file will be written to the specified directory.

This generates a graphic and exports it as a GIF file. The file will be written to the specified folder.

This generates a graphic and exports it as a specific file type. The file will be written to the specified directory.

This generates some data and exports it as a specific file type. The file will be written to the specified directory.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.