ST 540: Data Analysis and Regression


How to turn your S-Plus graph/plot into a Postscript file


Windows:

  1. Highlight your graphic window
  2. Select "File --> Export Graph"
  3. Choose the file format: *.eps
  4. Pick a name
  5. Save it!


Unix:

Best approach: see help files on the command "postscript"

A less elegant approach:
  1. Click "Options" in your graphics window
  2. Click "Printing ..."
  3. in "Command", change the content to "lpr -Pabc"
  4. Click "Print"
Note: at Step 4 after you click "Print" S-Plus will complain. It is because in Step 3 we have specified to print the graph with printer "abc", and in our department we don't have a printer named "abc". So your graph won't be printed, but will be saved instead - the file name is ps.out.0001.ps if you do it for the first time.