<?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: {thispage} doesn't work for gplot/sgplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/thispage-doesn-t-work-for-gplot-sgplot/m-p/336742#M11685</link>
    <description>&lt;P&gt;Specify NOGTITLE on the ODS RTF statement so that the title is processed at the page level. Then, you should see the expected title.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ods rtf file = '1.rtf' nogtitle;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2017 21:25:50 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2017-02-28T21:25:50Z</dc:date>
    <item>
      <title>{thispage} doesn't work for gplot/sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/thispage-doesn-t-work-for-gplot-sgplot/m-p/336738#M11683</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering why the {thispage} doesn't work for gplot/sgplot.&lt;/P&gt;&lt;P&gt;I replaced the sgplot part with with proc print. It works. My SAS version is 9.3.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods escapechar = '*';&lt;BR /&gt;ods rtf file = '1.rtf';&lt;BR /&gt;title1 j=c 'page *{thispage} of *{lastpage}';&lt;BR /&gt;proc sgplot data=sashelp.class;&lt;BR /&gt;scatter x=height y=weight / group=sex;&lt;BR /&gt;run;&lt;BR /&gt;ods rtf close;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 21:18:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/thispage-doesn-t-work-for-gplot-sgplot/m-p/336738#M11683</guid>
      <dc:creator>fbl204653</dc:creator>
      <dc:date>2017-02-28T21:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: {thispage} doesn't work for gplot/sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/thispage-doesn-t-work-for-gplot-sgplot/m-p/336741#M11684</link>
      <description>&lt;P&gt;SGPLOT embeds the title in the graphics, while {thispage} is an RTF command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Change the program so the titles are not embedded in the graphs using NOGTITLE on the ODS RTF statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar = '*';
ods rtf file = 'temp1.rtf' nogtitle;
title1 j=c 'page *{thispage} of *{lastpage}';
proc sgplot data=sashelp.class;
scatter x=height y=weight / group=sex;
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Feb 2017 21:25:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/thispage-doesn-t-work-for-gplot-sgplot/m-p/336741#M11684</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-02-28T21:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: {thispage} doesn't work for gplot/sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/thispage-doesn-t-work-for-gplot-sgplot/m-p/336742#M11685</link>
      <description>&lt;P&gt;Specify NOGTITLE on the ODS RTF statement so that the title is processed at the page level. Then, you should see the expected title.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ods rtf file = '1.rtf' nogtitle;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 21:25:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/thispage-doesn-t-work-for-gplot-sgplot/m-p/336742#M11685</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-02-28T21:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: {thispage} doesn't work for gplot/sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/thispage-doesn-t-work-for-gplot-sgplot/m-p/336754#M11687</link>
      <description>&lt;P&gt;Thanks, Reeza, you are the best!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 21:55:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/thispage-doesn-t-work-for-gplot-sgplot/m-p/336754#M11687</guid>
      <dc:creator>fbl204653</dc:creator>
      <dc:date>2017-02-28T21:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: {thispage} doesn't work for gplot/sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/thispage-doesn-t-work-for-gplot-sgplot/m-p/336755#M11688</link>
      <description>&lt;P&gt;Thanks DanH&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 21:55:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/thispage-doesn-t-work-for-gplot-sgplot/m-p/336755#M11688</guid>
      <dc:creator>fbl204653</dc:creator>
      <dc:date>2017-02-28T21:55:37Z</dc:date>
    </item>
  </channel>
</rss>

