<?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: How do I suppress Title and Footnote outside a graph in PowerPoint? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-suppress-Title-and-Footnote-outside-a-graph-in/m-p/543849#M150361</link>
    <description>&lt;P&gt;1. You have a colon after title2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. No issues for me&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title; footnote; * Reset titles and footnotes to blanks;

ods _all_ close;
ods graphics/ reset noborder width=8.5in height=6.0in; * PPTX setting;
ods escapechar='^';
options orientation=landscape;
ods powerpoint file="\\Nz8037spsas2003\r&amp;amp;c1\02 DEVELOPMENT\ECL Calculator\Test.pptx" ;*options(backgroundimage="C:Test.png");

ods layout gridded y=0.25in;
title1 "My Title1"; title2 "My Title2";
footnote1 "My footnote1"; footnote2 "My footnote2"; footnote3 "My footnote3";

proc sgplot data=SASHELP.CLASS;
  scatter x=WEIGHT y=HEIGHT; 
run;

proc sgplot data=SASHELP.CLASS;
  scatter x=WEIGHT y=AGE; 
run;

ods layout end;
ods powerpoint close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 399px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28002iD97949CEB294E0EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 17 Mar 2019 22:44:54 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2019-03-17T22:44:54Z</dc:date>
    <item>
      <title>How do I suppress Title and Footnote outside a graph in PowerPoint?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-suppress-Title-and-Footnote-outside-a-graph-in/m-p/543579#M150289</link>
      <description>&lt;P&gt;I'm trying to send 2 SGPLOT charts to PowerPoint - each to its own slide, using Title/Footnote statements. First PowerPoint slide looks great - second slide has duplicate titles and footnotes - both within the chart space, and outside it! How do I prevent the "outside" titles and footnotes from appearing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS code below, and results of the 2 slides (in PDF format) attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title; footnote; * Reset titles and footnotes to blanks;

ods _all_ close;
ods graphics/ reset noborder width=8.5in height=6.0in; * PPTX setting;
ods escapechar='^';
options orientation=landscape;
ods powerpoint file="C:\Test.pptx" options(backgroundimage="C:Test.png");

ods layout gridded y=0.25in;
title1 "My Title1"; title2 "My Title2":
footnote1 "My footnote1"; footnote2 "My footnote2"; footnote3 "My footnote3";

proc sgplot data=myData;
....
run;

proc sgplot data=myData2;
...
run;

ods layout end;
ods powerpoint close;


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 15:50:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-suppress-Title-and-Footnote-outside-a-graph-in/m-p/543579#M150289</guid>
      <dc:creator>bnawrocki</dc:creator>
      <dc:date>2019-03-15T15:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I suppress Title and Footnote outside a graph in PowerPoint?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-suppress-Title-and-Footnote-outside-a-graph-in/m-p/543849#M150361</link>
      <description>&lt;P&gt;1. You have a colon after title2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. No issues for me&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title; footnote; * Reset titles and footnotes to blanks;

ods _all_ close;
ods graphics/ reset noborder width=8.5in height=6.0in; * PPTX setting;
ods escapechar='^';
options orientation=landscape;
ods powerpoint file="\\Nz8037spsas2003\r&amp;amp;c1\02 DEVELOPMENT\ECL Calculator\Test.pptx" ;*options(backgroundimage="C:Test.png");

ods layout gridded y=0.25in;
title1 "My Title1"; title2 "My Title2";
footnote1 "My footnote1"; footnote2 "My footnote2"; footnote3 "My footnote3";

proc sgplot data=SASHELP.CLASS;
  scatter x=WEIGHT y=HEIGHT; 
run;

proc sgplot data=SASHELP.CLASS;
  scatter x=WEIGHT y=AGE; 
run;

ods layout end;
ods powerpoint close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 399px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28002iD97949CEB294E0EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2019 22:44:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-suppress-Title-and-Footnote-outside-a-graph-in/m-p/543849#M150361</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-03-17T22:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I suppress Title and Footnote outside a graph in PowerPoint?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-suppress-Title-and-Footnote-outside-a-graph-in/m-p/543981#M150396</link>
      <description>&lt;P&gt;Thanks for checking that, Chris. Perhaps I'm using an older version of SAS - SAS 9.4 TS Level 1M5 on Windows 7?&lt;/P&gt;&lt;P&gt;(Regarding the colon after the title statement -- that was a typo -- in the real code I used a semi-colon as required).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to solve the problem myself by deleting the "ods layout gridded y=0.25in;" line (and the "ods layout end" line).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code was working fine before I added the "ods layout" lines. I only added it because I wanted the chart on the PowerPoint slide to start 0.25in vertically down from the standard top margin, because I had a background image banner that was in that space, and I didn't want the chart to overwrite it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I figured out another way to get the extra top margin -- I added an options statement before the "ods powerpoint" statement like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;options topmargin=0.5in;&amp;nbsp; &amp;lt;== that changed the default 1/4-inch top margin to 1/2 inch, an additional 1/4-inch, that is&lt;/P&gt;&lt;P&gt;And this -- along with deleting the "ods layout" lines -- now make my output in PowerPoint look the way I want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 13:51:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-suppress-Title-and-Footnote-outside-a-graph-in/m-p/543981#M150396</guid>
      <dc:creator>bnawrocki</dc:creator>
      <dc:date>2019-03-18T13:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I suppress Title and Footnote outside a graph in PowerPoint?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-suppress-Title-and-Footnote-outside-a-graph-in/m-p/545214#M150795</link>
      <description>&lt;P&gt;Chris,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I finally tried your code -- and it didn't work for me! I see the same results I'm getting in my code -- your first page is OK, but 2nd page prints in PowerPoint with duplicate titles -- one set of titles across the top, and another set of titles within the chart itself, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Title1&lt;/P&gt;&lt;P&gt;My Title2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Title1&lt;/P&gt;&lt;P&gt;My Title2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you tell me which version of SAS you are running? I am running base SAS on Windows 9.4 1M5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 13:31:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-suppress-Title-and-Footnote-outside-a-graph-in/m-p/545214#M150795</guid>
      <dc:creator>bnawrocki</dc:creator>
      <dc:date>2019-03-22T13:31:47Z</dc:date>
    </item>
  </channel>
</rss>

