Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*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 2004

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

Search the Archive

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


  • Prev by Date: Re: MathGroup /: Descriptive headings
  • Next by Date: Redefining the minus operator
  • Previous by thread: NotebookWrite[] question
  • Next by thread: Notebook output write to a different file