<?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 Aligning Point Labels in pointlabel option in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Aligning-Point-Labels-in-pointlabel-option/m-p/208046#M7771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to do a simple plot showing the 10th and 90th percentile ranges of grades as well as the labels.&amp;nbsp; Unfortunately, when I run the code the bottom label is not going below the tickmark.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Setting up the data;&lt;/P&gt;&lt;P&gt;data grades;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input section $ grade @@;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt;A 74 A 89 A 91 A 76 A 87 A 93 A 93 A 96 A 55 A 80 A 82&lt;/P&gt;&lt;P&gt;B 72 B 72 B 84 B 81 B 97 B 78 B 88 B 90 B 74 B 80 B 82&lt;/P&gt;&lt;P&gt;C 62 C 74 C 71 C 87 C 68 C 78 C 80 C 85 C 82 C 80 C 82&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc means data=grades noprint;&lt;/P&gt;&lt;P&gt;&amp;nbsp; by section;&lt;/P&gt;&lt;P&gt;&amp;nbsp; output out=grades2(drop=_:) p10(grade)=p10 p90(grade)=p90;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc transpose data=grades2 out=grades3(rename=(_name_=type col1=grade));&lt;/P&gt;&lt;P&gt;&amp;nbsp; by section;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;*Prepare for 3 symbols;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;*Symbol1 (p10), symbol2 (p90), symbol3 (connecting p10 and p90 with hilo);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;data grades4;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set grades3 grades3(in=inb);&lt;/P&gt;&lt;P&gt;&amp;nbsp; if inb then type='z';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;graphs&lt;/P&gt;&lt;P&gt;ods rtf file="K:\test.rtf";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;symbol1 C=blue I=hilot V=none w=3 pointlabel=(j=c position=bottom f=times);&lt;/P&gt;&lt;P&gt;symbol2 C=blue I=hilot V=none w=3 pointlabel=(j=c position=top f=times);&lt;/P&gt;&lt;P&gt;symbol3 C=blue I=hilot V=none w=.01 pointlabel=none;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=grades4;&lt;/P&gt;&lt;P&gt;&amp;nbsp; plot grade*section=type&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resulting output from the rtf is attached. As seen, the p10 labels are not shown below the tickmarks.&amp;nbsp; Very oddly, at some point when I was testing the code the labels were aligned properly, but I am not sure what is causing this.&amp;nbsp; Any help would be appreciated.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11701i67AF18CBB292E552/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Picture1.jpg" title="Picture1.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 May 2015 17:46:51 GMT</pubDate>
    <dc:creator>dardesta</dc:creator>
    <dc:date>2015-05-01T17:46:51Z</dc:date>
    <item>
      <title>Aligning Point Labels in pointlabel option</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Aligning-Point-Labels-in-pointlabel-option/m-p/208046#M7771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to do a simple plot showing the 10th and 90th percentile ranges of grades as well as the labels.&amp;nbsp; Unfortunately, when I run the code the bottom label is not going below the tickmark.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Setting up the data;&lt;/P&gt;&lt;P&gt;data grades;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input section $ grade @@;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt;A 74 A 89 A 91 A 76 A 87 A 93 A 93 A 96 A 55 A 80 A 82&lt;/P&gt;&lt;P&gt;B 72 B 72 B 84 B 81 B 97 B 78 B 88 B 90 B 74 B 80 B 82&lt;/P&gt;&lt;P&gt;C 62 C 74 C 71 C 87 C 68 C 78 C 80 C 85 C 82 C 80 C 82&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc means data=grades noprint;&lt;/P&gt;&lt;P&gt;&amp;nbsp; by section;&lt;/P&gt;&lt;P&gt;&amp;nbsp; output out=grades2(drop=_:) p10(grade)=p10 p90(grade)=p90;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc transpose data=grades2 out=grades3(rename=(_name_=type col1=grade));&lt;/P&gt;&lt;P&gt;&amp;nbsp; by section;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;*Prepare for 3 symbols;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;*Symbol1 (p10), symbol2 (p90), symbol3 (connecting p10 and p90 with hilo);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;data grades4;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set grades3 grades3(in=inb);&lt;/P&gt;&lt;P&gt;&amp;nbsp; if inb then type='z';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;graphs&lt;/P&gt;&lt;P&gt;ods rtf file="K:\test.rtf";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;symbol1 C=blue I=hilot V=none w=3 pointlabel=(j=c position=bottom f=times);&lt;/P&gt;&lt;P&gt;symbol2 C=blue I=hilot V=none w=3 pointlabel=(j=c position=top f=times);&lt;/P&gt;&lt;P&gt;symbol3 C=blue I=hilot V=none w=.01 pointlabel=none;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=grades4;&lt;/P&gt;&lt;P&gt;&amp;nbsp; plot grade*section=type&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resulting output from the rtf is attached. As seen, the p10 labels are not shown below the tickmarks.&amp;nbsp; Very oddly, at some point when I was testing the code the labels were aligned properly, but I am not sure what is causing this.&amp;nbsp; Any help would be appreciated.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11701i67AF18CBB292E552/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Picture1.jpg" title="Picture1.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 17:46:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Aligning-Point-Labels-in-pointlabel-option/m-p/208046#M7771</guid>
      <dc:creator>dardesta</dc:creator>
      <dc:date>2015-05-01T17:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Point Labels in pointlabel option</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Aligning-Point-Labels-in-pointlabel-option/m-p/208047#M7772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With SAS 9.2 unable to duplicate this behavior. I get the bottom labels below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would try running this code and looking for any additional options in your symbol1 statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc goptions symbol;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The log will have the full definition of the symbols. Sometimes other options hang around you don't expect. If you see something you don't expect then try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;symbol1;&lt;/P&gt;&lt;P&gt;to clear the full current assignment and then re-run your symbol definitions and the gplot code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 18:54:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Aligning-Point-Labels-in-pointlabel-option/m-p/208047#M7772</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-05-01T18:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Point Labels in pointlabel option</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Aligning-Point-Labels-in-pointlabel-option/m-p/208048#M7773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running SAS 9.4.&amp;nbsp; This behavior occurs even after I restart SAS. I do have this warning message for some reason which I cannot determine: WARNING: The height specified for the pointlabel might cause the labels to&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; overlap other elements on the graph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 19:13:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Aligning-Point-Labels-in-pointlabel-option/m-p/208048#M7773</guid>
      <dc:creator>dardesta</dc:creator>
      <dc:date>2015-05-01T19:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Point Labels in pointlabel option</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Aligning-Point-Labels-in-pointlabel-option/m-p/208049#M7774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found that under some conditions some of the graph options will persist across sessions at least with 9.2 and earlier version 9.&lt;/P&gt;&lt;P&gt;Did you try the proc goptions code and look at the symbol definitions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The warning is possibly related to font size and the default distance from the plot element such as the HILO line or the ends. You may note that your work library has both a GSEG catalog and an RTF catalog with versions of the graph in each. And they may not look alike. See if the text looks like it is overlapping in one (most likely the GSEG).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 20:05:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Aligning-Point-Labels-in-pointlabel-option/m-p/208049#M7774</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-05-01T20:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning Point Labels in pointlabel option</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Aligning-Point-Labels-in-pointlabel-option/m-p/208050#M7775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I reran the code today and oddly enough it generated the correct output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 21:26:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Aligning-Point-Labels-in-pointlabel-option/m-p/208050#M7775</guid>
      <dc:creator>dardesta</dc:creator>
      <dc:date>2015-05-04T21:26:44Z</dc:date>
    </item>
  </channel>
</rss>

