Re: NotebookWrite[] question
- To: mathgroup at smc.vnet.net
- Subject: [mg52001] Re: NotebookWrite[] question
- From: sean_incali at yahoo.com (sean kim)
- Date: Sun, 7 Nov 2004 01:03:16 -0500 (EST)
- References: <cmfcqe$7pf$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
notebookwritequestionanswer = NotebookCreate[];
NotebookWrite[notebookwritequestionanswer,
Cell[BoxData[ToBoxes[{"Plot[x], did you ask?" }]],"Output"]]
g= Plot[Sin[x], {x, 0, 2Pi}];
NotebookWrite[notebookwritequestionanswer,
Cell[GraphicsData["PostScript",DisplayString[g] , "Graphics"]]]
does it.
"Ekta ." <dew_01_007 at yahoo.ca> wrote in message news:<cmfcqe$7pf$1 at smc.vnet.net>...
> Hi everyone,
> I have a notebook, which some initialization cells. I would like the output (animated graphs, some values) of these initialization cells to be in a different notebook. Is this possible
>
> For Example:
> NotebookA has the following:
>
> Print[x]
> Plot [x,{x,0,5}]
>
> I would like to direct to output of these to a another notebook, NotebookB
>
> Thanks in advance.
> Ekta