<?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: SGPLOT changes pagesize and linesize of log and listing output in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-changes-pagesize-and-linesize-of-log-and-listing-output/m-p/596948#M18966</link>
    <description>&lt;P&gt;Done. Updated above. Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2019 15:25:14 GMT</pubDate>
    <dc:creator>BartG</dc:creator>
    <dc:date>2019-10-16T15:25:14Z</dc:date>
    <item>
      <title>SGPLOT changes pagesize and linesize of log and listing output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-changes-pagesize-and-linesize-of-log-and-listing-output/m-p/596454#M18963</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For me, SAS starts with pagesize=75 and linesize=123. After creating a figure with SGPLOT the settings are changed, for example to pagesize=42 and linesize=75.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options option=(linesize pagesize papersize);
run;

ods listing gpath="C:\Temp";
ods graphics / reset=all noborder outputfmt=emf imagename="Figure";

proc sgplot data=sashelp.baseball;
  scatter x=nAtBat y=nHits;
run;

ods graphics off;

proc options option=linesize;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is LOG output from the PROC OPTIONS statements:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;LINESIZE=123 Specifies the line size for the SAS log and for SAS procedure output for the LISTING destination.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;PAGESIZE=75 Specifies the number of lines that compose a page of the SAS log and SAS output.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;PAPERSIZE=A4 Specifies the paper size to use for printing.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;LINESIZE=75 Specifies the line size for the SAS log and for SAS procedure output for the LISTING destination.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;PAGESIZE=42 Specifies the number of lines that compose a page of the SAS log and SAS output.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;PAPERSIZE=A4 Specifies the paper size to use for printing.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moving the PROC OPTIONS around in the code shows that the change happens after the PROC SGPLOT call.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me understand why this happens and what I can do to prevent pagesize/linesize from changing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Bart&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 15:24:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-changes-pagesize-and-linesize-of-log-and-listing-output/m-p/596454#M18963</guid>
      <dc:creator>BartG</dc:creator>
      <dc:date>2019-10-16T15:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT changes pagesize and linesize of log and listing output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-changes-pagesize-and-linesize-of-log-and-listing-output/m-p/596552#M18965</link>
      <description>&lt;P&gt;It may help to show the code you actually run so we have a&amp;nbsp;better chance of telling what happens.&lt;/P&gt;
&lt;P&gt;You should include code that either uses a SAS supplied data set, such as SASHELP.CLASS, or a data step to create the&amp;nbsp; data set used by the procedure. Also any ODS Graphics options.&lt;/P&gt;
&lt;P&gt;It might help to include something like this before and after proc sgplot and show us the LOG:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc options option=linesize  ;
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 15:00:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-changes-pagesize-and-linesize-of-log-and-listing-output/m-p/596552#M18965</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-10-15T15:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT changes pagesize and linesize of log and listing output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-changes-pagesize-and-linesize-of-log-and-listing-output/m-p/596948#M18966</link>
      <description>&lt;P&gt;Done. Updated above. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 15:25:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-changes-pagesize-and-linesize-of-log-and-listing-output/m-p/596948#M18966</guid>
      <dc:creator>BartG</dc:creator>
      <dc:date>2019-10-16T15:25:14Z</dc:date>
    </item>
  </channel>
</rss>

