MathGroup Archive 1998

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

Search the Archive

Re: Use of the command Display, with ImageResolution

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14526] Re: Use of the command Display, with ImageResolution
  • From: "P.J. Hinton" <paulh>
  • Date: Thu, 29 Oct 1998 04:33:24 -0500
  • Organization: "Wolfram Research, Inc."
  • References: <70ra6k$sel@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On 23 Oct 1998, Beverly Bradley wrote:

> Does anyone have an efficient method for generating a high resolution
> image of a Mathematica graphic, which can be directly read into MS Word
> 98 ? Generally, I use the cut/paste approach to move figures into
> documents, but in this case, I am working on a very large Word
> document, and would like to have only Word active (as opposed to both
> Word and Mathematica.)  I would also like to be able to save ANY figure
> as a stand-alone file, to simplify passing projects results to other
> scientists.  SO -
> 
> I am using a Macintosh 8500 with 128 Mb memory, and Mathematica version
> 3.0.
> 
> I have tried using the following:
> 
>    graph = Plot [Sin[x], {x,0,20}]
>    Display["sinplot.tiff", graph, "TIFF"]
> 
> This produces a TIFF file on my computer, at a default image resolution
> of 72 dpi.  Then I tried to improve the resolution, using the
> following:
> 
>    Display ["sinplot.tiff", graph, "TIFF", ImageResolution ->200]
> 
> This locks up the computer, crashes the operating system, and does all
> sorts of other undesirable things.
> 
> I have also tried ImageResolution values of 100, 300, etc., to no avail.
> However, the ImageResolution value of 72 DOES work.   Obviously, I
> don't understand this command as well as I thought.  Can someone tell
> me what I am doing wrong ?

If your printer supports PostScript, you may want to consider exporting
your graphic as Encapsulated PostScript with a TIFF preview.  The
format name as specified in the third argument to Display[] is
"EPS-TIFF".  The TIFF image will be used to provide an on-screen
representation of the graphic.  The use of EPS provides you with a
portable graphic that won't be constrained by image resolution.

There is one side effect that you may encounter in exporting your
graphics to this format.  You may need to configure your PostScript
printer to have the Mathematica fonts in memory when you print a
document with the imported graphic.  The Technical Support web site has
some FAQ pages that can give you some guidance on how to do this on the
Macintosh platform.

--
P.J. Hinton
Mathematica Programming Group           paulh at wolfram.com Wolfram
Research, Inc.                  http://www.wolfram.com/~paulh/
Disclaimer: Opinions expressed herein are those of the author alone.



  • Prev by Date: Re: ParametricPlot
  • Next by Date: Re: Limits pre- & post-Solve[]
  • Previous by thread: Use of the command Display, with ImageResolution
  • Next by thread: Re: Use of the command Display, with ImageResolution