<?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 Proc gplot and ods pdf in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-gplot-and-ods-pdf/m-p/27748#M6354</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>Wed, 26 May 2010 17:31:43 GMT</pubDate>
    <dc:creator>Sandhya</dc:creator>
    <dc:date>2010-05-26T17:31:43Z</dc:date>
    <item>
      <title>Proc gplot and ods pdf</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-gplot-and-ods-pdf/m-p/27748#M6354</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>Wed, 26 May 2010 17:31:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-gplot-and-ods-pdf/m-p/27748#M6354</guid>
      <dc:creator>Sandhya</dc:creator>
      <dc:date>2010-05-26T17:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Proc gplot and ods pdf</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-gplot-and-ods-pdf/m-p/27749#M6355</link>
      <description>Check out GREPLAY to position the plots on the page and then send the results of GREPLAY to ODS.&lt;BR /&gt;
&lt;BR /&gt;
If you are using SAS 9.2, then you may also want to consider SGPLOT as it gives you a lot of control.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
      <pubDate>Wed, 26 May 2010 19:17:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-gplot-and-ods-pdf/m-p/27749#M6355</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-05-26T19:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc gplot and ods pdf</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-gplot-and-ods-pdf/m-p/27750#M6356</link>
      <description>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:18:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-gplot-and-ods-pdf/m-p/27750#M6356</guid>
      <dc:creator>Sandhya</dc:creator>
      <dc:date>2010-06-01T15:18:59Z</dc:date>
    </item>
  </channel>
</rss>

