<?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: Control distance of data labels from data points in an Annotate dataset in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Control-distance-of-data-labels-from-data-points-in-an-Annotate/m-p/227369#M8240</link>
    <description>&lt;P&gt;I suspect the apparent distance between annotate label and data point has to do with conversion (or lack) of 2 dimesion to apparent 3-d location. Change the rotate value (noticeably say to + 30). If the labels stay in the same position and the graph moves you'll see what I'm talking about. Or use an angle list to move the chart in steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Sep 2015 22:39:01 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-09-25T22:39:01Z</dc:date>
    <item>
      <title>Control distance of data labels from data points in an Annotate dataset</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Control-distance-of-data-labels-from-data-points-in-an-Annotate/m-p/227365#M8239</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am trying to graph a 3D ordination using proc g3d and have the data point labels display beside each data point. I have created an annotate dataset that controls the format of the labels. When I run the program, the data labels for each label seem a very long distance away from each data point. Also, the program will not display all of the labels, the log message says something like 'only first instance of each x and y label will be displayed'. Any advice?&amp;nbsp; Below is the relevant program:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;goptions reset=all cback=white border htitle=12pt htext=10pt;&lt;BR /&gt;%let x_min=-1.59;&lt;BR /&gt;%let x_max=1.5;&lt;BR /&gt;%let x_ticks=3;&lt;BR /&gt;%let y_min=-1.59;&lt;BR /&gt;%let y_max=1.5;&lt;BR /&gt;%let y_ticks=3;&lt;BR /&gt;%let z_min=-1.59;&lt;BR /&gt;%let z_max=1.5;&lt;BR /&gt;%let z_ticks=3;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data sppname;&lt;BR /&gt;&amp;nbsp;set two;&lt;BR /&gt;&amp;nbsp;if Role='M';&lt;BR /&gt;&amp;nbsp;size=0.75;&lt;BR /&gt;&amp;nbsp;xsys='2'; ysys='2'; zsys='2';&lt;BR /&gt;&amp;nbsp;x=Ax3;&lt;BR /&gt;&amp;nbsp;y=Ax1;&lt;BR /&gt;&amp;nbsp;z=Ax2;&lt;BR /&gt;&amp;nbsp;Function='Label';&lt;BR /&gt;&amp;nbsp;Text=Abbrev;&lt;BR /&gt;&amp;nbsp;position='A';&lt;/P&gt;&lt;P&gt;Data twoa;&lt;BR /&gt;&amp;nbsp;set two end=last;&lt;BR /&gt;&amp;nbsp;output;&lt;BR /&gt;&amp;nbsp;if last;&lt;BR /&gt;&amp;nbsp; Ax3=&amp;amp;x_min;&lt;BR /&gt;&amp;nbsp; Ax1=&amp;amp;y_min;&lt;BR /&gt;&amp;nbsp; Ax2=&amp;amp;z_min;&lt;BR /&gt;&amp;nbsp; output;&lt;BR /&gt;&amp;nbsp; Ax3=&amp;amp;x_max;&lt;BR /&gt;&amp;nbsp; Ax1=&amp;amp;y_max;&lt;BR /&gt;&amp;nbsp; Ax2=&amp;amp;z_max;&lt;BR /&gt;&amp;nbsp; output;&lt;BR /&gt;&amp;nbsp; run;&lt;BR /&gt;&amp;nbsp;proc g3d;&lt;BR /&gt;&amp;nbsp; scatter Ax3*Ax1=Ax2 /&lt;BR /&gt;&amp;nbsp;&amp;nbsp; anno=sppname&lt;BR /&gt;&amp;nbsp;&amp;nbsp; grid&lt;BR /&gt;&amp;nbsp;&amp;nbsp; xticknum=&amp;amp;x_ticks&lt;BR /&gt;&amp;nbsp;&amp;nbsp; yticknum=&amp;amp;y_ticks&lt;BR /&gt;&amp;nbsp;&amp;nbsp; zticknum=&amp;amp;z_ticks&lt;BR /&gt;&amp;nbsp;&amp;nbsp; shape= symbol&lt;BR /&gt;&amp;nbsp;&amp;nbsp; size=symsize&lt;BR /&gt;&amp;nbsp;&amp;nbsp; color=symcolor&lt;BR /&gt;&amp;nbsp;&amp;nbsp; noneedle&lt;BR /&gt;&amp;nbsp;&amp;nbsp; rotate= -45;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; label Ax2 = 'NMS Axis 2'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ax1 = 'NMS Axis 1'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ax3 = 'NMS Axis 3';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bugmeister&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 21:17:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Control-distance-of-data-labels-from-data-points-in-an-Annotate/m-p/227365#M8239</guid>
      <dc:creator>Bugmeister</dc:creator>
      <dc:date>2015-09-25T21:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Control distance of data labels from data points in an Annotate dataset</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Control-distance-of-data-labels-from-data-points-in-an-Annotate/m-p/227369#M8240</link>
      <description>&lt;P&gt;I suspect the apparent distance between annotate label and data point has to do with conversion (or lack) of 2 dimesion to apparent 3-d location. Change the rotate value (noticeably say to + 30). If the labels stay in the same position and the graph moves you'll see what I'm talking about. Or use an angle list to move the chart in steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 22:39:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Control-distance-of-data-labels-from-data-points-in-an-Annotate/m-p/227369#M8240</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-09-25T22:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Control distance of data labels from data points in an Annotate dataset</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Control-distance-of-data-labels-from-data-points-in-an-Annotate/m-p/227570#M8248</link>
      <description>&lt;P&gt;I've never tried annotate with proc g3d scatter, but here is an old example from the V6 Examples book that might help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://robslink.com/SAS/democd44/ex_07_info.htm" target="_self"&gt;http://robslink.com/SAS/democd44/ex_07_info.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/335i158D9BF55A774227/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="ex_07.png" title="ex_07.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 19:41:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Control-distance-of-data-labels-from-data-points-in-an-Annotate/m-p/227570#M8248</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2015-09-28T19:41:20Z</dc:date>
    </item>
  </channel>
</rss>

