<?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 Help Drawing Radius Circles in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Help-Drawing-Radius-Circles/m-p/172250#M6375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to draw 10 mile radius circles around my locations on a map. Does someone know how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/**FOR A COUNTIES MAP THE X AND Y COORDANIATES NEED TO BE CHANGED SO THIS IS DONE HERE**/ DATA P1; SET P1(WHERE=(STATE=34));&amp;nbsp;&amp;nbsp; X=ATAN(1)/45 * LONG;&amp;nbsp;&amp;nbsp; Y=ATAN(1)/45 * LAT; RUN; /**MAKE STAR MARKER OR ANOTHER TYPE OF MARKER**/ DATA P;/*ANNOTATE DATA SET*/ SET P1;/*PROVIDER DATA WITH X/Y*/ LENGTH FUNCTION STYLE COLOR $ 8 TEXT $4; XSYS = '2'; YSYS = '2';&amp;nbsp; HSYS = '3'; WHEN = 'A';&amp;nbsp; /**MAKE STAR MARKER OR ANOTHER TYPE OF MARKER**/ FUNCTION='LABEL'; STYLE='MARKER'; TEXT='V' SIZE = 1.75; IF PILOT='P' THEN COLOR='BILG';/**GREEN**/ IF PILOT='E' THEN COLOR='ORANGE';/**ORANGE**/ IF PILOT='A' THEN COLOR='CXFF0000';/**RED**/ IF COUNT=1 THEN POSITION='5'; IF COUNT=2 THEN POSITION='A'; IF COUNT=3 THEN POSITION='F'; OUTPUT; RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2014 18:05:04 GMT</pubDate>
    <dc:creator>AAWTomHanks</dc:creator>
    <dc:date>2014-11-14T18:05:04Z</dc:date>
    <item>
      <title>Help Drawing Radius Circles</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-Drawing-Radius-Circles/m-p/172250#M6375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to draw 10 mile radius circles around my locations on a map. Does someone know how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/**FOR A COUNTIES MAP THE X AND Y COORDANIATES NEED TO BE CHANGED SO THIS IS DONE HERE**/ DATA P1; SET P1(WHERE=(STATE=34));&amp;nbsp;&amp;nbsp; X=ATAN(1)/45 * LONG;&amp;nbsp;&amp;nbsp; Y=ATAN(1)/45 * LAT; RUN; /**MAKE STAR MARKER OR ANOTHER TYPE OF MARKER**/ DATA P;/*ANNOTATE DATA SET*/ SET P1;/*PROVIDER DATA WITH X/Y*/ LENGTH FUNCTION STYLE COLOR $ 8 TEXT $4; XSYS = '2'; YSYS = '2';&amp;nbsp; HSYS = '3'; WHEN = 'A';&amp;nbsp; /**MAKE STAR MARKER OR ANOTHER TYPE OF MARKER**/ FUNCTION='LABEL'; STYLE='MARKER'; TEXT='V' SIZE = 1.75; IF PILOT='P' THEN COLOR='BILG';/**GREEN**/ IF PILOT='E' THEN COLOR='ORANGE';/**ORANGE**/ IF PILOT='A' THEN COLOR='CXFF0000';/**RED**/ IF COUNT=1 THEN POSITION='5'; IF COUNT=2 THEN POSITION='A'; IF COUNT=3 THEN POSITION='F'; OUTPUT; RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 18:05:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-Drawing-Radius-Circles/m-p/172250#M6375</guid>
      <dc:creator>AAWTomHanks</dc:creator>
      <dc:date>2014-11-14T18:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help Drawing Radius Circles</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-Drawing-Radius-Circles/m-p/172251#M6376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's in Example 24 in my book "SAS/Graph: Beyond the Basics".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the sas code, and sample output...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://robslink.com/SAS/book/example24.htm" style="font-size: 10pt; line-height: 1.5em;" title="http://robslink.com/SAS/book/example24.htm"&gt;Public Radio Stations in NC (SAS/Graph gmap)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://robslink.com/SAS/book/example24.sas" title="http://robslink.com/SAS/book/example24.sas"&gt;http://robslink.com/SAS/book/example24.sas&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 18:07:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-Drawing-Radius-Circles/m-p/172251#M6376</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2014-11-14T18:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help Drawing Radius Circles</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-Drawing-Radius-Circles/m-p/172252#M6377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quick question...when using levels for the CHORO option is there a way to tell the bottom level to use zero?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 20:20:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-Drawing-Radius-Circles/m-p/172252#M6377</guid>
      <dc:creator>AAWTomHanks</dc:creator>
      <dc:date>2014-11-14T20:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help Drawing Radius Circles</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Help-Drawing-Radius-Circles/m-p/172253#M6378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there's an option to force the legend levels to start at zero, but you could probably insert a 'fake' item into your data (that doesn't match any real map areas), and give it a value of zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I care about the legend ranges (or 'buckets' as they are sometimes called), I usually take full control, and create a new variable, and then a user-defined format to make the text in the legend show up the way I want, such as ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value winefmt&lt;/P&gt;&lt;P&gt;1 = '0 to .2'&lt;/P&gt;&lt;P&gt;2 = '.2 to .3'&lt;/P&gt;&lt;P&gt;3 = '.3 to .4'&lt;/P&gt;&lt;P&gt;4 = '.4 to .5'&lt;/P&gt;&lt;P&gt;5 = 'over .5'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data my_data (drop=all decile); set my_data (where=(state_name^='District of Columbia'));&lt;/P&gt;&lt;P&gt;format wine_bucket winefmt.;&lt;/P&gt;&lt;P&gt;if wine&amp;lt;=.2 then wine_bucket=1;&lt;/P&gt;&lt;P&gt;else if wine&amp;lt;=.3 then wine_bucket=2;&lt;/P&gt;&lt;P&gt;else if wine&amp;lt;=.4 then wine_bucket=3;&lt;/P&gt;&lt;P&gt;else if wine&amp;lt;=.5 then wine_bucket=4;&lt;/P&gt;&lt;P&gt;else wine_bucket=5;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 22:15:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Help-Drawing-Radius-Circles/m-p/172253#M6378</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2014-11-14T22:15:09Z</dc:date>
    </item>
  </channel>
</rss>

