<?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: Title does not display when multiple figures or tables on same page of a pdf output. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Title-does-not-display-when-multiple-figures-or-tables-on-same/m-p/836741#M23187</link>
    <description>This is a common issue I think many of have faced when using ODS PDF as an output destination. See this answer to an earlier post that suggests how to use ODS TEXT=. It seems that once we introduce STARTPAGE= into the code, we interfere with how titles are produced and need to rely on ODS TEXT=&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Titles/m-p/114009#M10146" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Titles/m-p/114009#M10146&lt;/A&gt;</description>
    <pubDate>Tue, 04 Oct 2022 15:49:44 GMT</pubDate>
    <dc:creator>svh</dc:creator>
    <dc:date>2022-10-04T15:49:44Z</dc:date>
    <item>
      <title>Title does not display when multiple figures or tables on same page of a pdf output.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Title-does-not-display-when-multiple-figures-or-tables-on-same/m-p/836469#M23186</link>
      <description>&lt;P&gt;I have 2 graphs (Fig-1, and -2), and 3 tables (table-1, -2, and -3) in a SAS program. I would like to keep fig-1, and -2 with their titles in page-1, table-1 in page-2, and table-2, and -3 with their titles in page-3 of a pdf output file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run the following code, the titles of the last figure/table do not display when multiple figures/tables are in a same page (e.g. fig-1, and -2 remain in the same page but title of fig-2 does not appear). I am not sure how to fix.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods _all_ close;&lt;/P&gt;
&lt;P&gt;ods pdf file="\\xxxxx/xx/xxxx abc.pdf" &lt;BR /&gt;notoc startpage=no NOGTITLE NOGFOOTNOTE ;&lt;BR /&gt;ODS Graphics / reset=all width=8in height=4in scale=on border=off imagefmt=png;&lt;BR /&gt;options nodate number ;&lt;/P&gt;
&lt;P&gt;footnote1 height=7pt justify=left "xxxxxxxxx xxxxxxxxx xxxxxxxx as of &amp;amp;SYSDATE";&lt;BR /&gt;footnote2 height=8pt justify=right "&amp;amp;SYSDATE";&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;title height=10pt "Figure 1. xxxxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxx";&lt;BR /&gt;proc sgplot data=casepop1 ;&lt;BR /&gt;series x=Countyear y=SP /datalabel=SP lineattrs=( thickness=3 pattern=shortdash ) markers legendlabel="SP" ;&lt;BR /&gt;series x=Countyear y=VSP /datalabel=VSP lineattrs=( thickness=3 pattern=longdash) markers legendlabel="VSP";&lt;BR /&gt;format SP VSP ;&lt;BR /&gt;yaxis label='Cases per 100,000'&amp;nbsp;LABELATTRS=(Family=Arial Size=10 Style=Italic Weight=Bold) &lt;BR /&gt;valueattrs=(Family=Arial color=gray size=10pt);&lt;BR /&gt;xaxis valueattrs=(Family=Arial color=gray size=10pt) values=(2007 to 2021 by 1)&amp;nbsp;display= (nolabel) NOTIMESPLIT VALUESROTATE= VERTICAL;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;title height=10pt "Figure 2. xxxxxxxxxxx xxxxxxxxxxxxx xxxxxxxxxxx";&lt;BR /&gt;proc sgplot data=casepop1;&lt;BR /&gt;series x=Countyear y=OthEnd / datalabel=OthEnd lineattrs=( color=red thickness=3 pattern=shortdash) markers legendlabel="Other Endemic Institutions";&lt;BR /&gt;series x=Countyear y=California / datalabel=California lineattrs=(color=seagreen thickness=3 pattern=longdash) markers legendlabel="California";&lt;BR /&gt;format OthEnd California;&lt;BR /&gt;yaxis label='Cases per 100,000'&amp;nbsp;LABELATTRS=(Family=Arial Size=10 Style=Italic Weight=Bold)&lt;BR /&gt;valueattrs=(Family=Arial color=gray size=10pt);&lt;BR /&gt;xaxis values=(2007 to 2021 by 1) display= (nolabel) NOTIMESPLIT&amp;nbsp;VALUESROTATE= VERTICAL valueattrs=(Family=Arial color=gray size=10pt);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;title height=10pt "Table 1. xxxxxxxxxxxx xxxxxxxxxxxxx xxxxxxxxxxxx";&lt;BR /&gt;proc report data=casepop2; &lt;BR /&gt;column CountYear Person vsp sp vspsp OthEnd NonEnd chcs Kern California;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;title height=10pt "Table 2. xxxxxxxxxxxxx xxxxxxxxxxxxx xxxxxxxx";&lt;BR /&gt;proc report data=casepop3;&lt;BR /&gt;column Institution Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec ;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;title height=10pt "Table 3. xxxxxxxxxxx xxxxxxxxxxx xxxxxxxxx";&lt;BR /&gt;proc report data=casepop4;&lt;BR /&gt;column Institution Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec ;&lt;BR /&gt;run;&lt;BR /&gt;title;&lt;BR /&gt;footnote;&lt;/P&gt;
&lt;P&gt;ods pdf close;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 16:29:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Title-does-not-display-when-multiple-figures-or-tables-on-same/m-p/836469#M23186</guid>
      <dc:creator>Barkat</dc:creator>
      <dc:date>2022-10-03T16:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Title does not display when multiple figures or tables on same page of a pdf output.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Title-does-not-display-when-multiple-figures-or-tables-on-same/m-p/836741#M23187</link>
      <description>This is a common issue I think many of have faced when using ODS PDF as an output destination. See this answer to an earlier post that suggests how to use ODS TEXT=. It seems that once we introduce STARTPAGE= into the code, we interfere with how titles are produced and need to rely on ODS TEXT=&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Titles/m-p/114009#M10146" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Titles/m-p/114009#M10146&lt;/A&gt;</description>
      <pubDate>Tue, 04 Oct 2022 15:49:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Title-does-not-display-when-multiple-figures-or-tables-on-same/m-p/836741#M23187</guid>
      <dc:creator>svh</dc:creator>
      <dc:date>2022-10-04T15:49:44Z</dc:date>
    </item>
  </channel>
</rss>

