Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*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 1998

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

Search the Archive

Re: Manipulating the Front End from the Kernel (moving Graphics)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg15059] Re: Manipulating the Front End from the Kernel (moving Graphics)
  • From: "Dale Horton" <daleh>
  • Date: Wed, 9 Dec 1998 04:12:38 -0500
  • Organization: Wolfram Research, Inc.
  • References: <73ls50$38k@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

You can change the DisplayFunction of the command to a NotebookWrite,
e.g.,

DisplayFunction -> (NotebookWrite[nb,
    Cell[GraphicsData["PostScript", DisplayString[#]], "Graphics"] ]&)

where nb is the NotebookObject of the target notebook.

-Dale

Barthelet, Luc wrote in message <73ls50$38k at smc.vnet.net>...
>
>I am building a simulator in Mathematica and for once, I would rather be
>able to output the graphics in a different window than my usual
>notebook. I created a "Control Panel" notebook and would like to send
>graphics I update in that "Control Panel".
>
>Has anyone tried to get the "Show" command to display in a different
>notebook than the evaluation notebook?
>
>I tried to use NotebookWrite but could not figure out how to get a Cell
>with the proper data in it.
>
>I am pretty sure I can do it by first creating the graphics in the
>evaluation notebook then reading that Cell and then writing it in my
>Control Panel, but is there a way to get the graphic cell directly in
>the right place?
>
>thanks.
>
>Luc Barthelet
>GM the day, Mayor at night
>http://www.simcity.com
>
>



  • Prev by Date: Re: Mathematica Ouput: subscripts and superscripts
  • Next by Date: Testing Lists
  • Previous by thread: Re: Re: Re: Mathematica Ouput: subscripts and superscripts
  • Next by thread: Testing Lists