Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

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

Search the Archive

Re: Redirect output

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3096] Re: Redirect output
  • From: wagner at bullwinkle.cs.Colorado.EDU (Dave Wagner)
  • Date: Wed, 31 Jan 1996 03:04:46 -0500
  • Organization: University of Colorado, Boulder
  • Sender: owner-wri-mathgroup at wri.com

In article <4ekef4$5o1 at dragonfly.wri.com>,
Florian Schoenbeck <schoenbe at informatik.uni-muenchen.de> wrote:
>Hi,
>
>how can I redirect the graphical output of Mma to a PostScript file
>(using $Output and $Display ??)?
>

The easiest way is to set the global value of $Display to an arbitrary stream.

	s = OpenWrite["filename"];
	Block[{$Display=s}, Plot[f, ...]]
	Close[s];

You also can send an already-computed graphics object to a file by calling 
Display on it directly.

	s = OpenWrite["filename"];
	Display[s, g]
	Close[s];


		Dave Wagner
		Principia Consulting
		(303) 786-8371
		dbwagner at princon.com
		http://www.princon.com/princon

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: ParametricPlot3D
  • Next by Date: Re: Redirect output
  • Previous by thread: Redirect output
  • Next by thread: Re: Redirect output