<?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 RTF - Unwanted empty lines between graph and footnote in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/ODS-RTF-Unwanted-empty-lines-between-graph-and-footnote/m-p/72767#M2616</link>
    <description>Hi:&lt;BR /&gt;
  Not sure what's going on. Are you using a SAS FOOTNOTE statement or something within a Graph Template, since you're using SGRENDER????&lt;BR /&gt;
 &lt;BR /&gt;
  When I run the code below, using TAGSETS.RTF and SGRENDER and some PROC REPORTS, I get TITLES and FOOTNOTES where I expect. If you are having issues with TAGSETS.RTF you might want to work with Tech Support. &lt;BR /&gt;
&lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
                         &lt;BR /&gt;
ods path work.temp(update)&lt;BR /&gt;
         sasuser.templat(update)&lt;BR /&gt;
         sashelp.tmplmst(read);&lt;BR /&gt;
                            &lt;BR /&gt;
proc template;&lt;BR /&gt;
define statgraph graph.box_elip;&lt;BR /&gt;
begingraph;&lt;BR /&gt;
EntryTitle "Want to Use GTL" /; &lt;BR /&gt;
EntryFootnote "EntryFootnote to Span Both Graphs";&lt;BR /&gt;
&lt;BR /&gt;
layout lattice / columns=2 columngutter=10;&lt;BR /&gt;
  column2headers;&lt;BR /&gt;
    entry "Boxplot";&lt;BR /&gt;
    entry "Prediction Ellipse";&lt;BR /&gt;
  endcolumn2headers;&lt;BR /&gt;
                          &lt;BR /&gt;
  columnheaders;&lt;BR /&gt;
    entry "Graph 1";&lt;BR /&gt;
    entry "Graph 2";&lt;BR /&gt;
  endcolumnheaders;&lt;BR /&gt;
                                         &lt;BR /&gt;
  layout overlay / yaxisopts=( Label="Age At Death" type=linear &lt;BR /&gt;
                   linearopts=( tickvaluelist=( 40 60 80 100 ) &lt;BR /&gt;
                                  viewmin=35 viewmax=100 ) );&lt;BR /&gt;
   BoxPlot X=chol_status Y=AgeAtDeath / &lt;BR /&gt;
           SortOrder=Data primary=true &lt;BR /&gt;
           LegendLabel="Age at Death" NAME="VBOX";&lt;BR /&gt;
  endlayout;&lt;BR /&gt;
                         &lt;BR /&gt;
  layout overlay / yaxisopts=( Label="Age At Death" &lt;BR /&gt;
         type=linear linearopts=( tickvaluelist=( 40 60 80 100 ) &lt;BR /&gt;
                                  viewmin=35 viewmax=100 ) );&lt;BR /&gt;
     ScatterPlot X=Weight Y=AgeAtDeath / &lt;BR /&gt;
                 primary=true Group=Chol_Status &lt;BR /&gt;
                 LegendLabel="Age at Death" NAME="SCATTER";&lt;BR /&gt;
     Ellipse X=Weight Y=AgeAtDeath / &lt;BR /&gt;
             Type=Predicted LegendLabel="95% Prediction Ellipse" &lt;BR /&gt;
             NAME="ELLIPSE";&lt;BR /&gt;
     DiscreteLegend "SCATTER"/ &lt;BR /&gt;
             Location=Outside halign=center &lt;BR /&gt;
             valign=bottom;&lt;BR /&gt;
  endlayout;&lt;BR /&gt;
 endlayout;&lt;BR /&gt;
endgraph;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
              &lt;BR /&gt;
proc sort data=sashelp.heart out=heart;&lt;BR /&gt;
  by cholesterol chol_status;&lt;BR /&gt;
run;&lt;BR /&gt;
                   &lt;BR /&gt;
ods listing close;&lt;BR /&gt;
                                       &lt;BR /&gt;
ods tagsets.rtf file='testfootnote.rtf';&lt;BR /&gt;
                 &lt;BR /&gt;
   proc report data=heart nowd;&lt;BR /&gt;
     title 'Proc Report';&lt;BR /&gt;
     footnote "Test Footnote report";&lt;BR /&gt;
     column chol_status ageatdeath agechddiag;&lt;BR /&gt;
     define chol_status / group order=data;&lt;BR /&gt;
     define ageatdeath/mean "Avg Age At Death";&lt;BR /&gt;
     define agechddiag / mean "Avg Age CHD Diag";&lt;BR /&gt;
   run;&lt;BR /&gt;
                    &lt;BR /&gt;
   proc report data=heart(obs=75) nowd;&lt;BR /&gt;
     column sex ageatdeath status deathcause diastolic systolic;&lt;BR /&gt;
     title 'list some obs more than 1 pg';&lt;BR /&gt;
     footnote 'another footnote';&lt;BR /&gt;
   run;&lt;BR /&gt;
                                    &lt;BR /&gt;
   proc sgrender data=heart&lt;BR /&gt;
        template=graph.box_elip;&lt;BR /&gt;
     where chol_status ne ' ';&lt;BR /&gt;
     title 'SGRENDER 1';&lt;BR /&gt;
     footnote "Test Footnote 1";&lt;BR /&gt;
  run;&lt;BR /&gt;
                   &lt;BR /&gt;
   proc report data=heart(obs=75) nowd;&lt;BR /&gt;
     column sex ageatdeath status deathcause diastolic systolic;&lt;BR /&gt;
     title 'list some obs more than 1 pg';&lt;BR /&gt;
     footnote 'another footnote';&lt;BR /&gt;
   run;&lt;BR /&gt;
                                &lt;BR /&gt;
   proc sgrender data=heart&lt;BR /&gt;
        template=graph.box_elip;&lt;BR /&gt;
     where chol_status ne ' ';&lt;BR /&gt;
     title 'SGRENDER 2';&lt;BR /&gt;
     footnote "Test Footnote 2";&lt;BR /&gt;
  run;&lt;BR /&gt;
         &lt;BR /&gt;
ods tagsets.rtf close;&lt;BR /&gt;
[/pre]</description>
    <pubDate>Thu, 01 Apr 2010 20:57:47 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-04-01T20:57:47Z</dc:date>
    <item>
      <title>ODS RTF - Unwanted empty lines between graph and footnote</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-RTF-Unwanted-empty-lines-between-graph-and-footnote/m-p/72764#M2613</link>
      <description>I am looking for a way to get rid of two empty lines that always come up after my SGRENDER graph and a footnote below it (nogfootnote bodytitle). Or in general, how can I stop ODS RTF adding empty lines?&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Alain</description>
      <pubDate>Wed, 31 Mar 2010 16:02:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-RTF-Unwanted-empty-lines-between-graph-and-footnote/m-p/72764#M2613</guid>
      <dc:creator>asmits</dc:creator>
      <dc:date>2010-03-31T16:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: ODS RTF - Unwanted empty lines between graph and footnote</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-RTF-Unwanted-empty-lines-between-graph-and-footnote/m-p/72765#M2614</link>
      <description>Hi:&lt;BR /&gt;
  Depending on whether you're using SAS 9.2 or not... if you -are- using SAS 9.2 and measured RTF destination (TAGSETS.RTF), you might look at changing the PARSKIP style attribute -- which would allow you to alter the amount of space between tables. I think this would also apply to the space between tables and graphs.&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/base/new92/92measuredrtf.html" target="_blank"&gt;http://support.sas.com/rnd/base/new92/92measuredrtf.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
  But you might want to check with Tech Support to get the definitive answer on how PARSKIP would work with tables and graph output. Or to see whether there's a workaround if you're still using SAS 9.1.3.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 31 Mar 2010 16:20:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-RTF-Unwanted-empty-lines-between-graph-and-footnote/m-p/72765#M2614</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-03-31T16:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: ODS RTF - Unwanted empty lines between graph and footnote</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-RTF-Unwanted-empty-lines-between-graph-and-footnote/m-p/72766#M2615</link>
      <description>Many thanks Cynthia!&lt;BR /&gt;
&lt;BR /&gt;
ODS tagsets.RTF seems to do a better job indeed, but now I don't get a footnote for each SGRENDER, only after the last one on the page. Any clue?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Alain</description>
      <pubDate>Wed, 31 Mar 2010 16:41:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-RTF-Unwanted-empty-lines-between-graph-and-footnote/m-p/72766#M2615</guid>
      <dc:creator>asmits</dc:creator>
      <dc:date>2010-03-31T16:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: ODS RTF - Unwanted empty lines between graph and footnote</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ODS-RTF-Unwanted-empty-lines-between-graph-and-footnote/m-p/72767#M2616</link>
      <description>Hi:&lt;BR /&gt;
  Not sure what's going on. Are you using a SAS FOOTNOTE statement or something within a Graph Template, since you're using SGRENDER????&lt;BR /&gt;
 &lt;BR /&gt;
  When I run the code below, using TAGSETS.RTF and SGRENDER and some PROC REPORTS, I get TITLES and FOOTNOTES where I expect. If you are having issues with TAGSETS.RTF you might want to work with Tech Support. &lt;BR /&gt;
&lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
                         &lt;BR /&gt;
ods path work.temp(update)&lt;BR /&gt;
         sasuser.templat(update)&lt;BR /&gt;
         sashelp.tmplmst(read);&lt;BR /&gt;
                            &lt;BR /&gt;
proc template;&lt;BR /&gt;
define statgraph graph.box_elip;&lt;BR /&gt;
begingraph;&lt;BR /&gt;
EntryTitle "Want to Use GTL" /; &lt;BR /&gt;
EntryFootnote "EntryFootnote to Span Both Graphs";&lt;BR /&gt;
&lt;BR /&gt;
layout lattice / columns=2 columngutter=10;&lt;BR /&gt;
  column2headers;&lt;BR /&gt;
    entry "Boxplot";&lt;BR /&gt;
    entry "Prediction Ellipse";&lt;BR /&gt;
  endcolumn2headers;&lt;BR /&gt;
                          &lt;BR /&gt;
  columnheaders;&lt;BR /&gt;
    entry "Graph 1";&lt;BR /&gt;
    entry "Graph 2";&lt;BR /&gt;
  endcolumnheaders;&lt;BR /&gt;
                                         &lt;BR /&gt;
  layout overlay / yaxisopts=( Label="Age At Death" type=linear &lt;BR /&gt;
                   linearopts=( tickvaluelist=( 40 60 80 100 ) &lt;BR /&gt;
                                  viewmin=35 viewmax=100 ) );&lt;BR /&gt;
   BoxPlot X=chol_status Y=AgeAtDeath / &lt;BR /&gt;
           SortOrder=Data primary=true &lt;BR /&gt;
           LegendLabel="Age at Death" NAME="VBOX";&lt;BR /&gt;
  endlayout;&lt;BR /&gt;
                         &lt;BR /&gt;
  layout overlay / yaxisopts=( Label="Age At Death" &lt;BR /&gt;
         type=linear linearopts=( tickvaluelist=( 40 60 80 100 ) &lt;BR /&gt;
                                  viewmin=35 viewmax=100 ) );&lt;BR /&gt;
     ScatterPlot X=Weight Y=AgeAtDeath / &lt;BR /&gt;
                 primary=true Group=Chol_Status &lt;BR /&gt;
                 LegendLabel="Age at Death" NAME="SCATTER";&lt;BR /&gt;
     Ellipse X=Weight Y=AgeAtDeath / &lt;BR /&gt;
             Type=Predicted LegendLabel="95% Prediction Ellipse" &lt;BR /&gt;
             NAME="ELLIPSE";&lt;BR /&gt;
     DiscreteLegend "SCATTER"/ &lt;BR /&gt;
             Location=Outside halign=center &lt;BR /&gt;
             valign=bottom;&lt;BR /&gt;
  endlayout;&lt;BR /&gt;
 endlayout;&lt;BR /&gt;
endgraph;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
              &lt;BR /&gt;
proc sort data=sashelp.heart out=heart;&lt;BR /&gt;
  by cholesterol chol_status;&lt;BR /&gt;
run;&lt;BR /&gt;
                   &lt;BR /&gt;
ods listing close;&lt;BR /&gt;
                                       &lt;BR /&gt;
ods tagsets.rtf file='testfootnote.rtf';&lt;BR /&gt;
                 &lt;BR /&gt;
   proc report data=heart nowd;&lt;BR /&gt;
     title 'Proc Report';&lt;BR /&gt;
     footnote "Test Footnote report";&lt;BR /&gt;
     column chol_status ageatdeath agechddiag;&lt;BR /&gt;
     define chol_status / group order=data;&lt;BR /&gt;
     define ageatdeath/mean "Avg Age At Death";&lt;BR /&gt;
     define agechddiag / mean "Avg Age CHD Diag";&lt;BR /&gt;
   run;&lt;BR /&gt;
                    &lt;BR /&gt;
   proc report data=heart(obs=75) nowd;&lt;BR /&gt;
     column sex ageatdeath status deathcause diastolic systolic;&lt;BR /&gt;
     title 'list some obs more than 1 pg';&lt;BR /&gt;
     footnote 'another footnote';&lt;BR /&gt;
   run;&lt;BR /&gt;
                                    &lt;BR /&gt;
   proc sgrender data=heart&lt;BR /&gt;
        template=graph.box_elip;&lt;BR /&gt;
     where chol_status ne ' ';&lt;BR /&gt;
     title 'SGRENDER 1';&lt;BR /&gt;
     footnote "Test Footnote 1";&lt;BR /&gt;
  run;&lt;BR /&gt;
                   &lt;BR /&gt;
   proc report data=heart(obs=75) nowd;&lt;BR /&gt;
     column sex ageatdeath status deathcause diastolic systolic;&lt;BR /&gt;
     title 'list some obs more than 1 pg';&lt;BR /&gt;
     footnote 'another footnote';&lt;BR /&gt;
   run;&lt;BR /&gt;
                                &lt;BR /&gt;
   proc sgrender data=heart&lt;BR /&gt;
        template=graph.box_elip;&lt;BR /&gt;
     where chol_status ne ' ';&lt;BR /&gt;
     title 'SGRENDER 2';&lt;BR /&gt;
     footnote "Test Footnote 2";&lt;BR /&gt;
  run;&lt;BR /&gt;
         &lt;BR /&gt;
ods tagsets.rtf close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 01 Apr 2010 20:57:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ODS-RTF-Unwanted-empty-lines-between-graph-and-footnote/m-p/72767#M2616</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-04-01T20:57:47Z</dc:date>
    </item>
  </channel>
</rss>

