MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

Plots to Postscript files...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg2278] Plots to Postscript files...
  • From: "Once again, its fishing season!" <DUGGAN at ecs.umass.edu>
  • Date: Mon, 23 Oct 1995 12:38:25 -0400

Hello,

Enclosed is the methodology that I have come up with for saving Graphics to
a Postscript file from the Windows Front End for Mathematica. Comments are 
welcome. If there is a better way to do it let me know.

Signed,

John F. Duggan				duggan at ecs.umass.edu
Engineering Computer Services
University of Massachusetts
Amherst, MA 01003

I) Saving a Graphics Image as a Postscript Document

Saving a Graphics Image as a Postscript Document from the PC Notebook Interface
requires the alteration to the default graphics settings. The default graphics
settings to allow a graphical image to be displayed on your PC do not coincide
with those that make full page printouts when sent to a Laser Printer. This
is why this set of steps is given to alter the size of the graphical image in
pixels. alter the default 300x300 pixel (widthxheight)
to 600x600 (widthxheight). 

Issue the command to generate the graphical image. Sample commands would be:

	Plot3D[ Sin[x] Sin[y], {x, 0, 2 Pi}, {y, 0, 2 Pi}]

	Plot[ x^3, {x, -5, 5}]

	 Click on the Graphical Image that Mathematica generates. A box should
appear around the image with a small square at each of the corners and middles
of  all four sides. \\

	 Alter the default WidthxHeight for the Graphics Image in pixels.

	 Click on the Options command within the MENU bar.
	 Click on the Graphics selection within the menu that appears.
	 At the bottom of the Graphics Settings notebook replace the 300 in
      the Width and Height boxes with 600.
	 Click on the Apply box in the upper right side
	 Click on the Ok box in the upper right side

Procedure to create the Graphical Image

	  Click on the FILE command at the top left hand corner of the menu bar.
	  Click on either the Save As or EXPORT option within the FILE menu
	  Go to the bottom of the Save As/Export Window where the FILE type box is
      displayed.
	  Click on the downward arrow at the left hand side of this box.
	  Scroll down through the options until Encapsulated Postscript File (*.EPS)
      appears as a selection.
	  Click on the Encapsulated Postscript File (*.EPS) option.
	  Select the drive where you would like to have this file placed.
      If the drive where you wish to store the file is saved is listed, then
      skip to I. Otherwise proceed.

Postscript files are large, therefore save to the hard drive D:.

	Click on the downward arrow at the left hand side of the Drives menu 
	box. 
	A list of available drives will appear. Click on the drive you wish to 
	save the Postscript file on.
	Click on the File Name box at the upper left hand side of the 
	Save As/Export Window. It is recommended that you enter a filename that 
	ends with either .PS or .EPS to represent Postscript or Encapsulated 
	Postscript Documents
	Click on the OK box

If a message similar to the one below is displayed, then your file was 
formatted ok. 

    Exporting D:\PLOT.PS
    ImageStream tm
    Graphics and Presentation Filters
    EPS Export - Version 1.9.10


Reset the default WidthxHeight for the Graphics Image in pixels.

	 Click on the Options command within the MENU bar.
	 Click on the Graphics selection within the menu that appears.
	 At the bottom of the Graphics Settings notebook replace the 600 in
		the Width and Height boxes with 300.
	 Click on the Apply box in the upper right side
	 Click on the Ok box in the upper right side


  • Prev by Date: Re: Puzzle
  • Next by Date: Re: TCP/IP for Win95
  • Previous by thread: Re: Plots to Postscript files...
  • Next by thread: Generate Graphs using MathLink