MathGroup Archive 1993

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

Search the Archive

PostScript

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: PostScript
  • From: tuk at natazhat.uafphys.alaska.edu (John Pender)
  • Date: Tue, 16 Mar 93 16:17:44 YST

i have what should be a simple question about postscript. 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 is also simple to view this file by using the program x11ps or sunps.  ie
by typing the shell command
	
	x11ps file.ps

my question is whether it's possible to do the same thing within a mma session
so that the newly opened window containing the plot is actually part of thesession.

Mathematica 2.1 for SPARC
Copyright 1988-92 Wolfram Research, Inc.
 -- X11 windows graphics initialized --
In[1]:= SomeCommandThatPutsThePlotOnTheScreen["file.ps"]

Out[2]= -Graphics-

In[2]:= Show[%]

Out[2]= -Graphics-

the output of Out[2] is a duplicate of Out[1].  notice that running x11ps does
not quite work.

Mathematica 2.1 for SPARC
Copyright 1988-92 Wolfram Research, Inc.
 -- X11 windows graphics initialized --
In[1]:= !x11ps file.ps

In[1]:=
this approach pops the plot up onto the screen alright, but it doesn't become
a part of the mma session.

mma does a fine job of generating the postscript code;  you'd think thatreading in a postscript file would be pretty easy.

thanks in advance for your help.

john pender

>From jond at Ensoniq.COM Tue Mar 16 23:45:35 1993
Received: from gvls1.VFL.Paramax.COM by yoda.physics.unc.edu (4.1/TAS/11-16-88)
	id AA10568; Tue, 16 Mar 93 23:45:33 EST
Received: from ensoniq.UUCP by gvls1.VFL.Paramax.COM (4.1/mls/4.0)	id AA12693; Tue, 16 Mar 93 23:45:37 EST
X-Info: VFL.Paramax.COM is the new name for GVL.Unisys.COM
        Please change any mailing lists or aliases.
        Both the old and the new addresses will work for a short time.
Received: from zorro by ensoniq.Ensoniq.COM (4.1/mls/3.5)	id AA01811; Tue, 16 Mar 93 23:44:19 EST
Message-Id: <9303170444.AA01811 at ensoniq.Ensoniq.COM>
Received: by zorro (NeXT-1.0 (From Sendmail 5.52)/mls/3.5)	id AA01366; Tue, 16 Mar 93 23:43:01 EST
Date: Tue, 16 Mar 93 23:43:01 EST
From: jond at Ensoniq.COM
Received: by NeXT Mailer (1.63.RR)
To: mathgroup at yoda.physics.unc.edu
Subject: Mandelbrot
Status: R

Gang,

Has anybody rewritten the Mandelbrot program (that comes bundled with the NeXT computer software) so that you zoom into the picture deeper than you can in Version 2.1?  .

Jon Dattorro
Ensoniq Corp.


  • Prev by Date: contour plot
  • Next by Date: SVD
  • Previous by thread: contour plot
  • Next by thread: postscript