<?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: What is wrong with these annotates? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-is-wrong-with-these-annotates/m-p/205508#M306374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post it at GRAPH forum. Robs is there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2015 12:04:44 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2015-08-24T12:04:44Z</dc:date>
    <item>
      <title>What is wrong with these annotates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-wrong-with-these-annotates/m-p/205507#M306373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to draw a triangle with label A, B, C and point on it. But it does not output the results.&lt;/P&gt;&lt;P&gt;data triangle;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; length function style color $ 8 text $ 5;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; retain hsys xsys ysys "3";&lt;/P&gt;&lt;P&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; function="move"; x=50; y=90; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; function="draw"; x=90; y=20; size=2; line=0.5;color="cx808080"; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; function="draw"; x=10; y=20; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; function="draw"; x=50; y=90; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; function='label';color='cx808080';x=50;y=90;size=35;position='3';style='calibri';text='A';textweight='normal';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; function='point';color='red';x=50;y=90;output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc ganno annotate=triangle;&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;Next, I am trying to draw a barchart using the data below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data barchart;&lt;/P&gt;&lt;P&gt;input Category $2 score 3 color $8;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;A 70 cxe35454&lt;/P&gt;&lt;P&gt;B 60 cx67549A&lt;/P&gt;&lt;P&gt;C 130 cx22ebe8&lt;/P&gt;&lt;P&gt;D 40 cx25eb22&lt;/P&gt;&lt;P&gt;E 90 cxe8eb22&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data barlabel; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; length color category Score style $ 8;&lt;/P&gt;&lt;P&gt;title "MinKhee's first bar chart";&lt;/P&gt;&lt;P&gt;axis1 label=none major=none minor=none style=0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value=none;&lt;/P&gt;&lt;P&gt;axis2 label=none;&lt;/P&gt;&lt;P&gt;legend1 label=('Category') frame;&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;&lt;/P&gt;&lt;P&gt;proc gchart data=barchart;&lt;/P&gt;&lt;P&gt;vbar discrete category freq=score type=count&lt;/P&gt;&lt;P&gt;gaxis=axis1 raxis=axis2&lt;/P&gt;&lt;P&gt;legend=legend1;&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;I am pretty slow in annotate, hope can teach me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 09:20:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-wrong-with-these-annotates/m-p/205507#M306373</guid>
      <dc:creator>MinKhee</dc:creator>
      <dc:date>2015-08-24T09:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with these annotates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-wrong-with-these-annotates/m-p/205508#M306374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post it at GRAPH forum. Robs is there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 12:04:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-wrong-with-these-annotates/m-p/205508#M306374</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-08-24T12:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with these annotates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-wrong-with-these-annotates/m-p/205509#M306375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My suggestion would be to look at more modern techniques, using sgplot and Graph Template Language.&amp;nbsp; These replace the old graphing techniques.&amp;nbsp; If you have a look through Sanjay's excellent blog on Graphs, SGPLOT and GTL you will find examples of pretty much anything you can think of, you may need to combine some of the code to get exactly what you want.&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/" title="http://blogs.sas.com/content/graphicallyspeaking/"&gt;http://blogs.sas.com/content/graphicallyspeaking/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 12:21:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-wrong-with-these-annotates/m-p/205509#M306375</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-08-24T12:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with these annotates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-wrong-with-these-annotates/m-p/205510#M306376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you using to program? It works fine for me on SAS 9.3 BASE with ODS Listing as my default output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At least the annotate part does, the graph doesn't but it generates a lot of errors so you can start by debugging those.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 15:02:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-wrong-with-these-annotates/m-p/205510#M306376</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-08-24T15:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong with these annotates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-wrong-with-these-annotates/m-p/205511#M306377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AXIS, LEGEND, SYMBOL and PATTERN statements do not belong inside a DATA step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure what your BARLABEL data set is supposed to do, but it would have terminated, with 1 observation with all blank values when encountering the AXIS statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 17:13:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-wrong-with-these-annotates/m-p/205511#M306377</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-08-24T17:13:32Z</dc:date>
    </item>
  </channel>
</rss>

