WOLFRAM COMMUNITY
Connect with users of Wolfram technologies to learn, solve problems and share ideas
Join
Sign In
Dashboard
Groups
People
Message Boards
Answer
(
Unmark
)
Mark as an Answer
WOLFRAM COMMUNITY
Dashboard
Groups
People
0
|
11961 Views
|
2 Replies
|
2 Total Likes
View groups...
Follow this post
Share
Share this post:
GROUPS:
Software Development
Mathematica
Presentation and Notebooks
How to output a graphic or plot to a second notebook
Jose Calderon
Jose Calderon, University of Puerto Rico
Posted
12 years ago
Here I have a scenario where in need of help.
I have a computer system with two monitors configuration. I will like to have the output from an input plot of the graphic function send to another notebook (windows). The reason is that I want to display the main notebook (with the input code) showing in one screen and all the output to a second notebook positioned in a second screen.
Not sure how to code the input command.
POSTED BY:
Jose Calderon
Reply
|
Flag
2 Replies
Sort By:
Replies
Likes
Recent
2
Rolf Mertig
Rolf Mertig, GluonVision GmbH
Posted
12 years ago
outputnb=NotebookCreate[];
$DisplayFunction=(NotebookWrite[outputnb,{Cell[BoxData@ToBoxes@#,"Output"]},After]
)&;
Plot[Sin[x], {x, 0, 122}]
POSTED BY:
Rolf Mertig
Reply
|
Flag
0
Stefan Schwarz
Stefan Schwarz
Posted
12 years ago
Hi Jose,
since expressions are global you can change a value in one notebook and it will be updated in the other notebook automatically.
Setting x = 4 in another notebook yields:
Setting x = 2 yields:
POSTED BY:
Stefan Schwarz
Reply
|
Flag
Reply to this discussion
in reply to
Add Notebook
Community posts can be styled and formatted using the
Markdown syntax
.
Tag limit exceeded
Note: Only the first five people you tag will receive an email notification; the other tagged names will appear as links to their profiles.
Publish anyway
Cancel
Reply Preview
Attachments
Remove
Add a file to this post
Follow this discussion
or
Discard
Group Abstract
Be respectful. Review our
Community Guidelines
to understand your role and responsibilities.
Community Terms of Use
Feedback