MathGroup Archive 1995

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

Search the Archive

Re: Importingf a PICT

  • To: mathgroup at
  • Subject: [mg2064] Re: Importingf a PICT
  • From: kluge at ()
  • Date: Sat, 23 Sep 1995 20:34:32 -0400
  • Organization: Computation Center, University of Texas

cthiel at (Chris Thiel) wonders:

>I can cut and paste a scanned image into a notebook, but I would like to
>draw on top of these images (they're topo maps, actually).  Is there a way
>of importing these PICTS so that they have a variable name (so I can use
>the standard Show[] to combine Graphic objects on top of the image?)

  I found the following procedure to be useful to do what you ask on
 a Macintosh.  (I assume you are using a Mac since you are dealing with 
 PICT format files).  There are undoubtedly other ways to do this as well.

  I use Open Special... to open the file with the PICT image in it.
  This pops up a dialog box in which I specify:

   Just extract PICT/TEXT/snd
   List all file types in Open dialog box

 Locate and select the file with the PICT image.  The PICT image will be
 loaded into a separate notebook.  Cut and paste the graphic into your main
 notebook (or if you are happy work with it in the new notebook).  Select the
 graphic, then from the Graph pulldown menu select "Convert to InputForm".

  Once this conversion is done, use <shift>-<return> to execute the resulting
 Mathematica code.  You now have a graphic with the label Out[n] that you
 can manipulate with, for example, with Show[%n, ... ].

                                           Alex Kluge
                                           University of Texas at Austin

  • Prev by Date: Solve
  • Next by Date: Re: histogram
  • Previous by thread: Importingf a PICT
  • Next by thread: Re: Animation