MathGroup Archive 1998

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

Search the Archive

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


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