<?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: gplot data label orientation in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69090#M2418</link>
    <description>If you've got the latest v9.2, you can rotate pointlabels as follows.  Pointlabels were enhanced in v9.2, and I'm not sure if this capability was available in earlier releases.  &lt;BR /&gt;
&lt;BR /&gt;
(I strongly encourage everyone to use the latest/greatest version of SAS/Graph, because there are always lots of nice fixes &amp;amp; features added in each version!)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
symbol1 v=dot i=none pointlabel=(h=8pt a=90 "#name");&lt;BR /&gt;
proc gplot data=sashelp.class;&lt;BR /&gt;
plot height*weight=1;&lt;BR /&gt;
run;</description>
    <pubDate>Wed, 17 Mar 2010 18:07:26 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2010-03-17T18:07:26Z</dc:date>
    <item>
      <title>gplot data label orientation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69087#M2415</link>
      <description>I'm trying to do a line graph in gplot and put the values into the chart for each point.&lt;BR /&gt;
&lt;BR /&gt;
I got the values but can't seem to get the text rotated into a vertical direction.&lt;BR /&gt;
&lt;BR /&gt;
what is the best way to do this?</description>
      <pubDate>Wed, 17 Mar 2010 17:19:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69087#M2415</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-17T17:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: gplot data label orientation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69088#M2416</link>
      <description>Are you using "pointlabels" or "annotated text"?&lt;BR /&gt;
&lt;BR /&gt;
And what version of SAS are you using?</description>
      <pubDate>Wed, 17 Mar 2010 17:51:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69088#M2416</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-03-17T17:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: gplot data label orientation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69089#M2417</link>
      <description>I'm looking into pointlabels but I don't see any way of rotating the text</description>
      <pubDate>Wed, 17 Mar 2010 17:56:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69089#M2417</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-17T17:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: gplot data label orientation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69090#M2418</link>
      <description>If you've got the latest v9.2, you can rotate pointlabels as follows.  Pointlabels were enhanced in v9.2, and I'm not sure if this capability was available in earlier releases.  &lt;BR /&gt;
&lt;BR /&gt;
(I strongly encourage everyone to use the latest/greatest version of SAS/Graph, because there are always lots of nice fixes &amp;amp; features added in each version!)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
symbol1 v=dot i=none pointlabel=(h=8pt a=90 "#name");&lt;BR /&gt;
proc gplot data=sashelp.class;&lt;BR /&gt;
plot height*weight=1;&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 17 Mar 2010 18:07:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69090#M2418</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-03-17T18:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: gplot data label orientation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69091#M2419</link>
      <description>unfortunately I'm running 9.1 (can't upgrade)&lt;BR /&gt;
&lt;BR /&gt;
I tried a=90 and that rotated the labels (there was nothing in the documentation about this).&lt;BR /&gt;
&lt;BR /&gt;
I'm managed to rotate the labels with&lt;BR /&gt;
symbol1 color=red interpol=join v=dot height=.75&lt;BR /&gt;
POINTLABEL=(a=90 c=red h=.75 J=C POSITION=TOP f="Arial") ;&lt;BR /&gt;
&lt;BR /&gt;
but I noticed something....the labels are not always above the point plotted</description>
      <pubDate>Wed, 17 Mar 2010 18:11:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69091#M2419</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-17T18:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: gplot data label orientation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69092#M2420</link>
      <description>It's a little difficult to predict &amp;amp; control the exact placement of pointlabel text, with interactions of things like rotate and collision-avoidance, etc.&lt;BR /&gt;
&lt;BR /&gt;
Therefore you might prefer to annotate the text labels on the points, such as...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data my_anno; set sashelp.class;&lt;BR /&gt;
xsys='2'; ysys='2'; hsys='3';&lt;BR /&gt;
function='label'; position='6'; angle=90;&lt;BR /&gt;
x=weight; y=height;&lt;BR /&gt;
text='  '||trim(left(name));&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
goptions reset=symbol;&lt;BR /&gt;
symbol1 v=dot i=none;&lt;BR /&gt;
proc gplot data=sashelp.class anno=my_anno;&lt;BR /&gt;
plot height*weight=1;&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 17 Mar 2010 18:20:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69092#M2420</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-03-17T18:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: gplot data label orientation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69093#M2421</link>
      <description>thanks&lt;BR /&gt;
&lt;BR /&gt;
that worked&lt;BR /&gt;
&lt;BR /&gt;
I was trying to avoid anything like that because I probably will need to give the final program to others to use and I did not want to use anything that they have not seen before.</description>
      <pubDate>Wed, 17 Mar 2010 18:46:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gplot-data-label-orientation/m-p/69093#M2421</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-17T18:46:55Z</dc:date>
    </item>
  </channel>
</rss>

