Group Abstract Group Abstract

Message Boards Message Boards

0
|
10.6K Views
|
4 Replies
|
3 Total Likes
View groups...
Share
Share this post:

How do you display a graphic in a new window -- repeatedly?

Posted 10 years ago
POSTED BY: David Keith
4 Replies
Posted 7 years ago

Thanks. Could I plot many figures in a new window. In the suggested way the only one figure (the last) is displayed.

POSTED BY: Dmitry Testov
POSTED BY: Bianca Eifert
Posted 10 years ago

Thanks, Bianca -- That works!

POSTED BY: David Keith
Posted 10 years ago

Actually there is a straightforward way to change the behavior of all Graphics objects (including those which do not go to the $Output channel): simply to define

$DisplayFunction = ((theGraphic = #; #) &);

An alternative to Dynamic solution is to use the second argument of CreateDocument:

obj = CreateDocument[];
$DisplayFunction = ((CreateDocument[#, obj]; #) &);
Do[ListPlot[Prime[Range[n]], Filling -> Axis], {n, 25, 50}]
POSTED BY: Alexey Popkov
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard