<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Proc gplot and ods pdf in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-and-ods-pdf/m-p/28248#M830</link>
    <description>Hi Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
PROC GREPLAY with template option worked.&lt;BR /&gt;
&lt;BR /&gt;
Thank you,&lt;BR /&gt;
&lt;BR /&gt;
Sandhya.</description>
    <pubDate>Tue, 01 Jun 2010 15:20:20 GMT</pubDate>
    <dc:creator>Sandhya</dc:creator>
    <dc:date>2010-06-01T15:20:20Z</dc:date>
    <item>
      <title>Proc gplot and ods pdf</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-and-ods-pdf/m-p/28244#M826</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have a dataset with variables&lt;BR /&gt;
&lt;BR /&gt;
AN&lt;BR /&gt;
w_24&lt;BR /&gt;
f_24&lt;BR /&gt;
g_24&lt;BR /&gt;
w_25&lt;BR /&gt;
f_25&lt;BR /&gt;
g_25&lt;BR /&gt;
w_log24&lt;BR /&gt;
f_log24&lt;BR /&gt;
g_log24&lt;BR /&gt;
w_log25&lt;BR /&gt;
f_log25&lt;BR /&gt;
g_log25&lt;BR /&gt;
&lt;BR /&gt;
I need 4 different for each AN value. So I used this code.&lt;BR /&gt;
&lt;BR /&gt;
proc gplot data=abc;&lt;BR /&gt;
title "an=#byval(an)";&lt;BR /&gt;
by an;&lt;BR /&gt;
&lt;BR /&gt;
plot g_24*w_24 g_25*w_25 overlay/nolegend&lt;BR /&gt;
anno=anno_markers;&lt;BR /&gt;
&lt;BR /&gt;
plot f_24*w_24 f_25*w_25 overlay/nolegend&lt;BR /&gt;
anno=anno_markers;&lt;BR /&gt;
&lt;BR /&gt;
plot g_log24*w_log24 g_log25*w_log25 overlay/nolegend&lt;BR /&gt;
anno=anno_markers;&lt;BR /&gt;
&lt;BR /&gt;
plot f_log24*w_log24 f_log25*w_log25 overlay/nolegend&lt;BR /&gt;
anno=anno_markers;&lt;BR /&gt;
&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
Now I need to ods it. The constraint is to fit all the 4 plots for each AN in one page. Meaning, if there are 8 AN then I need to have 9 pages. Each page should contain all the 4 plots.&lt;BR /&gt;
&lt;BR /&gt;
I tried ODS pdf file=&lt;FILENAME.PDF&gt; startpage=n0 column=2;&lt;BR /&gt;
goptions vsize=4in;&lt;BR /&gt;
&lt;BR /&gt;
This gives 2 columns in each page. Each column contains 2 graphs. In the crude form it satisfies the requirements but they are in 2 different start point.&lt;BR /&gt;
&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;BR /&gt;
| |&lt;BR /&gt;
| |&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;BR /&gt;
&lt;BR /&gt;
The alignment is not clear.&lt;BR /&gt;
&lt;BR /&gt;
I tried ods layout column=2 rows=2;&lt;BR /&gt;
&lt;BR /&gt;
not getting the desired result.&lt;BR /&gt;
&lt;BR /&gt;
I tried tagsets.htmlpanel. The alignment is fine but the graph is nnot getting printed.&lt;BR /&gt;
&lt;BR /&gt;
Please help.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Sandhya.&lt;/FILENAME.PDF&gt;</description>
      <pubDate>Thu, 27 May 2010 13:52:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-and-ods-pdf/m-p/28244#M826</guid>
      <dc:creator>Sandhya</dc:creator>
      <dc:date>2010-05-27T13:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Proc gplot and ods pdf</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-and-ods-pdf/m-p/28245#M827</link>
      <description>What version of SAS are you using?</description>
      <pubDate>Thu, 27 May 2010 14:07:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-and-ods-pdf/m-p/28245#M827</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2010-05-27T14:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc gplot and ods pdf</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-and-ods-pdf/m-p/28246#M828</link>
      <description>SAS 9.2&lt;BR /&gt;
&lt;BR /&gt;
Sandhya.</description>
      <pubDate>Thu, 27 May 2010 14:19:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-and-ods-pdf/m-p/28246#M828</guid>
      <dc:creator>Sandhya</dc:creator>
      <dc:date>2010-05-27T14:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proc gplot and ods pdf</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-and-ods-pdf/m-p/28247#M829</link>
      <description>Hi:&lt;BR /&gt;
  If you have SAS 9.2, then you might consider using the SGPANEL procedure to get your related graphs placed into one page in the ODS PDF destination.&lt;BR /&gt;
&lt;BR /&gt;
  Just a comment about ODS HTMLPANEL -- this is an HTML-based destination -- there is no guarantee that the printed output will "fit" in a printed page, since the printing is handled by the browser interface to the printer and SAS really has nothing to do with how the HTML prints.&lt;BR /&gt;
&lt;BR /&gt;
  There are a lot of good references on using the SGPANEL procedure from recent SAS user group meetings.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
options orientation=landscape nodate nonumber;&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods pdf file='c:\temp\panel.pdf';&lt;BR /&gt;
               &lt;BR /&gt;
proc sgpanel data=sashelp.heart;&lt;BR /&gt;
  panelby chol_status sex;&lt;BR /&gt;
  scatter x=ageatdeath y=agechddiag;&lt;BR /&gt;
run;&lt;BR /&gt;
ods pdf close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 27 May 2010 14:31:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-and-ods-pdf/m-p/28247#M829</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-05-27T14:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Proc gplot and ods pdf</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-and-ods-pdf/m-p/28248#M830</link>
      <description>Hi Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
PROC GREPLAY with template option worked.&lt;BR /&gt;
&lt;BR /&gt;
Thank you,&lt;BR /&gt;
&lt;BR /&gt;
Sandhya.</description>
      <pubDate>Tue, 01 Jun 2010 15:20:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gplot-and-ods-pdf/m-p/28248#M830</guid>
      <dc:creator>Sandhya</dc:creator>
      <dc:date>2010-06-01T15:20:20Z</dc:date>
    </item>
  </channel>
</rss>

