Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



[mg6075] Graphics w/ destination
Posted:
Feb 18, 1997 10:25 PM


problem: I'd like to have a graphics output placed in a particular cell <outputRegion> in another notebook <pad> whenever a certain function <generate> is called. For textual output, the following works,
generate:= (SetSelectedNotebook[pad]; NotebookLocate["outputRegion"]; SelectionMove[pad,All, CellContents]; NotebookWrite[pad, Cell[BoxData[ToBoxes["This goes to outputRegion in pad"]], CellFrame>2, CellTags> "outputRegion"]])
Line 5 clearly needs to be changed for graphical output. I want to output the results of a userdefined command <draw[A,B]> , which produces a generalized barchart.



