<?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 pdf, sgplot, keylegend in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54080#M1854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you could send me a small snippet of your code to &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:ODS@sas.com"&gt;ODS@sas.com&lt;/A&gt;&lt;SPAN&gt; I will take a look at it and offer some suggestions.&amp;nbsp; &lt;/SPAN&gt;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2012 19:28:04 GMT</pubDate>
    <dc:creator>ScottH_SAS</dc:creator>
    <dc:date>2012-07-24T19:28:04Z</dc:date>
    <item>
      <title>ods pdf, sgplot, keylegend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54074#M1848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;﻿﻿&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;SPAN style="font-size: 12pt; color: #000000; font-family: Calibri;"&gt;I get some strange behavior when using 'ods pdf columns=2' approach to generating two columns of plots with sgplot. The problem lies with the keylegend option in sgplot. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;SPAN style="font-size: 12pt; color: #000000; font-family: Calibri;"&gt;I want to generate six plots: plots1-4 in the left column and plots 5-6 in the right column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;SPAN style="font-size: 12pt; color: #000000; font-family: Calibri;"&gt;Consider the following example. The program behaves properly when the 'keylegend' statement is commented out. However, if the 'keylegend' is used, then the right columns disappear. This has nothing to do with the location = option. The option can be omitted (so that an empty keylegend appears in the code) and the right column still vanishes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;STRONG&gt;%macro&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM&gt;plt&lt;/EM&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;%do&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; i = &lt;/SPAN&gt;&lt;STRONG style="Courier New&amp;amp;quot: ; color: teal; background: white; font-size: 10pt; font-family: &amp;amp;quot;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;%to&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;STRONG style="Courier New&amp;amp;quot: ; color: teal; background: white; font-size: 10pt; font-family: &amp;amp;quot;"&gt;6&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;%if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; i = &lt;/SPAN&gt;&lt;STRONG style="Courier New&amp;amp;quot: ; color: teal; background: white; font-size: 10pt; font-family: &amp;amp;quot;"&gt;5&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;%then&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;%do&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;; ods pdf startpage = now; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;%end&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;ods graphics on / reset = all height = &lt;/SPAN&gt;&lt;STRONG style="Courier New&amp;amp;quot: ; color: teal; background: white; font-size: 10pt; font-family: &amp;amp;quot;"&gt;3.75&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; in width = &lt;/SPAN&gt;&lt;STRONG style="Courier New&amp;amp;quot: ; color: teal; background: white; font-size: 10pt; font-family: &amp;amp;quot;"&gt;7&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; in noborder&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;proc sgplot data = d1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;series x = x y = y / group = g;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;%&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: green; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;*KEYLEGEND&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;/ LOCATION = INSIDE ;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;inset &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: purple; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;"Plot&amp;amp;i."&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;ods graphics off;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;%end&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;STRONG style="Courier New&amp;amp;quot: ; color: navy; background: white; font-size: 10pt; font-family: &amp;amp;quot;"&gt;%mend&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; plt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: green; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;**** Play Data ****;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;STRONG style="Courier New&amp;amp;quot: ; color: navy; background: white; font-size: 10pt; font-family: &amp;amp;quot;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; d1; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; g = &lt;/SPAN&gt;&lt;STRONG style="Courier New&amp;amp;quot: ; color: teal; background: white; font-size: 10pt; font-family: &amp;amp;quot;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="Courier New&amp;amp;quot: ; color: teal; background: white; font-size: 10pt; font-family: &amp;amp;quot;"&gt;2&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;;&lt;SPAN style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; x = &lt;/SPAN&gt;&lt;STRONG style="Courier New&amp;amp;quot: ; color: teal; background: white; font-size: 10pt; font-family: &amp;amp;quot;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;STRONG style="Courier New&amp;amp;quot: ; color: teal; background: white; font-size: 10pt; font-family: &amp;amp;quot;"&gt;10&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;; y=x+g; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;output&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;; &lt;/SPAN&gt;&lt;STRONG style="Courier New&amp;amp;quot: ; color: navy; background: white; font-size: 10pt; font-family: &amp;amp;quot;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;options&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;orientation&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;=portrait pageno = &lt;/SPAN&gt;&lt;STRONG style="Courier New&amp;amp;quot: ; color: teal; background: white; font-size: 10pt; font-family: &amp;amp;quot;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;ods&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;pdf&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;file&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: purple; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;"c:\TEST &amp;amp;SYSDATE..pdf"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;startpage&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;never&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;ods&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;pdf&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;columns&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; = &lt;/SPAN&gt;&lt;STRONG style="Courier New&amp;amp;quot: ; color: teal; background: white; font-size: 10pt; font-family: &amp;amp;quot;"&gt;2&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;ods&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;pdf&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;startpage&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;now&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;%&lt;STRONG&gt;&lt;EM&gt;plt&lt;/EM&gt;&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;ods&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;pdf&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;close&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; background: white; color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 10pt;"&gt;&lt;SPAN style="font-size: 12pt; color: #000000; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 16:07:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54074#M1848</guid>
      <dc:creator>Garnett</dc:creator>
      <dc:date>2011-08-24T16:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: ods pdf, sgplot, keylegend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54075#M1849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which version of SAS are you using?&amp;nbsp; This runs correctly on SAS 9.2(TS2M3).&amp;nbsp; See attached output file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 17:16:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54075#M1849</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2011-08-24T17:16:15Z</dc:date>
    </item>
    <item>
      <title>ods pdf, sgplot, keylegend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54076#M1850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Interesting! I use 9.3....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 17:38:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54076#M1850</guid>
      <dc:creator>Garnett</dc:creator>
      <dc:date>2011-08-24T17:38:51Z</dc:date>
    </item>
    <item>
      <title>ods pdf, sgplot, keylegend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54077#M1851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There were a number of defects associated with the startpage option in 9.2 which have been fixed in 9.3.&amp;nbsp;&amp;nbsp; In 9.2 you had to do that startpage=never/now jive.&amp;nbsp; That is no longer necessary.&amp;nbsp;&amp;nbsp; The correct 9.3 code would be as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf file="c:\TEST &amp;amp;SYSDATE..pdf" startpage=no columns=2; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%plt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf close; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed that you also had a "width=7in" in your plt macro which is incorrect, and is being ignored.&amp;nbsp; You have a portrait letter page which is 8.5inx11in&amp;nbsp; minus the .25in margins all around, so you actually have 8inx10.5in of available. space. The columns= options evenly divides the available space into evenly size columns.&amp;nbsp; So your available width for each column happens to be 4in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 18:38:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54077#M1851</guid>
      <dc:creator>DanO_sas_com</dc:creator>
      <dc:date>2011-08-24T18:38:58Z</dc:date>
    </item>
    <item>
      <title>ods pdf, sgplot, keylegend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54078#M1852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks for your help. I made your suggested change and reduced the height/width to 2x4inches.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I still don't get the correct output when KEYLEGEND is included.... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 19:04:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54078#M1852</guid>
      <dc:creator>Garnett</dc:creator>
      <dc:date>2011-08-24T19:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: ods pdf, sgplot, keylegend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54079#M1853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also having problems with ODS pdf and startpage=never.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp; ODS pdf to create a report from several statistical procedures and using startpage=never.&lt;/P&gt;&lt;P&gt;It works in 9.2 but in 9.3 my first page is a blank page with only the title...:smileyconfused:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 18:07:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54079#M1853</guid>
      <dc:creator>JoySmith</dc:creator>
      <dc:date>2012-07-24T18:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: ods pdf, sgplot, keylegend</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54080#M1854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you could send me a small snippet of your code to &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:ODS@sas.com"&gt;ODS@sas.com&lt;/A&gt;&lt;SPAN&gt; I will take a look at it and offer some suggestions.&amp;nbsp; &lt;/SPAN&gt;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 19:28:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ods-pdf-sgplot-keylegend/m-p/54080#M1854</guid>
      <dc:creator>ScottH_SAS</dc:creator>
      <dc:date>2012-07-24T19:28:04Z</dc:date>
    </item>
  </channel>
</rss>

