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,

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

where nb is the NotebookObject of the target notebook.


Barthelet, Luc wrote in message <73ls50$38k at>...
>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?
>Luc Barthelet
>GM the day, Mayor at night

  • 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