s-news
[Top] [All Lists]

titles for multiple pages of graphs

To: <s-news@lists.biostat.wustl.edu>
Subject: titles for multiple pages of graphs
From: "Gross, Paul" <paul.gross@blackrock.com>
Date: Thu, 10 Jan 2008 14:36:44 -0500
Thread-index: AchTwCGMABu2sJS2QqaRgFc2KqHoNw==
Thread-topic: titles for multiple pages of graphs
I am generating multiple graphs over multiple pages using the plot.gam
function and would like an overall title ideally on every page, but at
least on the first page of graphs.  If in my script I do the following,
e.g.

par(mfrow=c(3,3),oma=c(0,0,4,0))
plot.gam(data.gam.disc, se=T, rugplot=F)
mtext(outer=T, side=3, line=1, "my gam functions", cex=1)
dev.off()

then the output is pages of plots with no title save for the last page
which has the title.

If mtext goes ahead of the plot function then the output is a page which
is blank except for the title and the plots are on the following pages
(with no title).  

Using the title() function yields similar results (using the main
argument to plot.gam puts the same title string over every plot).

Can anyone offer some pointers on the S-plus way to get page titles in
this context?

Thank you,
Paul

THE INFORMATION CONTAINED IN THIS MESSAGE AND ANY ATTACHMENT MAY BE PRIVILEGED, 
CONFIDENTIAL, PROPRIETARY OR OTHERWISE PROTECTED FROM DISCLOSURE. If the reader 
of this message is not the intended recipient, you are hereby notified that any 
dissemination, distribution, copying or use of this message and any attachment 
is strictly prohibited. If you have received this message in error, please 
notify us immediately by replying to the message and permanently delete it from 
your computer and destroy any printout thereof.

<Prev in Thread] Current Thread [Next in Thread>
  • titles for multiple pages of graphs, Gross, Paul <=