One other trick that might help ...
> graphsheeet(file="output##.gif")
> for (i in 1:10) plot(rnorm(100), main=paste("Plot", i))
> dev.off()
This will create 10 file outputs (one file for each page of the graph) ...
Rich.
-----Original Message-----
From: s-news-owner@lists.biostat.wustl.edu
[mailto:s-news-owner@lists.biostat.wustl.edu] On Behalf Of Richard M.
Heiberger
Sent: 11 November 2005 18:46
To: Chen Sichong; s-news@lists.biostat.wustl.edu
Subject: Re: [S] produce more than one graphs at the
There are several solutions.
1. S-Plus for Windows graphsheet
Click Options/Graph Options.../Options/Traditional Graphics/Auto
Pages:/Every Graph
Now your GraphSheet will have tabs and you can view any of the graphs. You
can save
the entire GraphSheet as a single object in the file system.
2. Use the PostScript driver.
trellis.device(postscript, file="myfile.ps")
## put your graphics loop here.
dev.off()
You now have a single postscript file with the 80 pages.
Rich
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu. To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message: unsubscribe s-news
|