<?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: ods pdf with layout gridded in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ods-pdf-with-layout-gridded/m-p/854310#M337622</link>
    <description>&lt;P&gt;I don't know why your titles aren't working properly, this seems like a bug to me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your plots use the default size. If you change the plot size, then they will fit on one page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics / height=3in width=3in; 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or you can use any other height and width that works for you.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2023 12:58:02 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-01-18T12:58:02Z</dc:date>
    <item>
      <title>ods pdf with layout gridded</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-pdf-with-layout-gridded/m-p/854309#M337621</link>
      <description>&lt;P&gt;I want the ods pdf to have gridded layout.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the sas studio window it appears gridded, but the pdf has only 1 column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Furthermore the print includes a first title statement that shouldn't appear because the #byval1 is not resolved yet.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data cars;
set sashelp.cars;
by model notsorted;
if first.model;
run;

proc transpose data=cars out=cars_long;
by model notsorted;
var _numeric_;
run;

data cars_long;
set cars_long;
label col1="value of analyzed variable" _name_="variable";
run;

proc sort data=cars_long;
by _name_;
run;


options papersize=A4 orientation=portrait leftmargin=1cm rightmargin=1cm; 

title;
ods pdf file="/caslibs/marketing/__test.pdf" style=Style.MySasWeb nogfootnote nogtitle  ;

options nobyline;                               
ods layout gridded columns=2 advance=bygroup;      
title "Histogram &amp;amp; kernel for #byval1";
  
ods region;             
proc sgplot data=cars_long noautolegend;
where col1 ne .;
by _NAME_ ;
  histogram col1 / dataskin=sheen    ;
  density col1 / type=kernel transparency=0.4;
run;

options byline;
ods layout end;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic0.png" style="width: 515px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79481iDD8BC8F6FA729550/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic0.png" alt="pic0.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic.png" style="width: 734px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79482i972A514C0AC882E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic.png" alt="pic.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 12:48:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-pdf-with-layout-gridded/m-p/854309#M337621</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2023-01-18T12:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: ods pdf with layout gridded</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-pdf-with-layout-gridded/m-p/854310#M337622</link>
      <description>&lt;P&gt;I don't know why your titles aren't working properly, this seems like a bug to me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your plots use the default size. If you change the plot size, then they will fit on one page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics / height=3in width=3in; 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or you can use any other height and width that works for you.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 12:58:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-pdf-with-layout-gridded/m-p/854310#M337622</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-01-18T12:58:02Z</dc:date>
    </item>
  </channel>
</rss>

