Re: Saving postscript files
- To: mathgroup at christensen.cybernetics.net
- Subject: [mg981] Re: Saving postscript files
- From: ianc (Ian Collier)
- Date: Thu, 4 May 1995 06:54:39 -0400
- Organization: Wolfram Research, Inc
In article <3nv9u8$9g8 at news0.cybernetics.net>, saama at ucla.edu (Peter M. Saama, Ph.D.) wrote: > Hi folks, > > It is simple to save mma plots to disk on a unix platform by, > for instance, using the command > > Display["file",Plot[x,{x,1,10}]] > > It says in the documentation for mma that the postscript > file generated by mma "typically requires some processing before it > cab be printed or used in other programs". What sort of processing > is required in order to view or print these files? > Mathematica uses its own dialect of PostScript which includes instructions not present in standard PostScript. Before Mathematica PostScript can be viewed, printed or used in other programs definitions for these new instructions need to be added to the beginning of the file. You can convert Mathematica PostScript to standard PostScript using the psfix program that is included in the Mathematica distribution. Here is an example that takes a Mathematica PostScript file, gr, and converts it to standard PostScript file, gr.ps. psfix gr > gr.ps Psfix is described in detail in the User's Guide for Mathematica in a Unix Shell. I hope this helps. --ian ---------------------------------------------------------------- Ian Collier Technical Sales Support Wolfram Research, Inc. ---------------------------------------------------------------- Tel (217) 398-0700 Fax (217) 398-0747 ianc at wri.com Wolfram Research Home Page http://www.wri.com/ ----------------------------------------------------------------