Date: Wed, 16 Nov 2005 08:46:03 -0800
Reply-To: mgm <mmcmanus@TNC.ORG>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: mgm <mmcmanus@TNC.ORG>
Subject: Re: Multi graph PDF pages
Content-Type: text/plain; charset="iso-8859-1"
Go to the SUGI 28 Proceedings Coders' Code that are online and look at
the very helpful article by Kevin Delaney "Multiple Graphs on One page,
the easy way (PDF) and the hard way (RTF)".
> I'm trying to make a multipage PDF, with 4 graphs per page. I've
> gotten the ODS PDF working to get a graph on each page and the output
> is far more attractive both visually and logistically. Looking through
> the archives, I see solutions suggesting proc replay (I've done this
> for other reasons in the past) and explicit plot calls with offsets
> set. In my case, my dataset determines how many pages I have, because
> each plot is the result of a "by" statement in my proc gplot.
> I don't think I can use greplay because of the variable number of
> pages. I wouldn't be able to grab each one explicitly and put them in
> the replayed pages. I don't know how to ask proc gplot to increment
> pages or offsets within a page (if position = 1, then position = 2 else
> if position = 2, position = 3 else ...... if position = 4 then do
> position = 1; page = page + 1;end).
> I'd apprecaite any insights y'all have.