<?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: Proc gmap in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gmap/m-p/307175#M10790</link>
    <description>&lt;P&gt;Or are you talking about an Annotate number?&lt;/P&gt;
&lt;P&gt;If you are talking about annotate, the "position" variable determines where that is written.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#annotate_position.htm" target="_self"&gt;http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#annotate_position.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2016 16:07:57 GMT</pubDate>
    <dc:creator>Darrell_sas</dc:creator>
    <dc:date>2016-10-25T16:07:57Z</dc:date>
    <item>
      <title>Proc gmap</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gmap/m-p/307151#M10788</link>
      <description>&lt;P&gt;Hi SAS Communities,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there is anyway to place the display of numbers right side or the left side of the map. (age 20-20 26-26 28-32 below the map, is there is anyway to palce it right side or left side of the map )&lt;/P&gt;&lt;P&gt;Below is my code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data response_data;&lt;BR /&gt;input idname$ X Y age;&lt;BR /&gt;cards;&lt;BR /&gt;Cuba -20722.00205 4678.3461646 20 24&lt;BR /&gt;Guatemala -21079.71903 4444.6666525 26&lt;BR /&gt;Haiti -20480.41176 4569.4493199 28&lt;BR /&gt;Honduras -20942.88097 4419.9807239 32&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;define style styles.colorramp;&lt;BR /&gt;parent=styles.pearl;&lt;BR /&gt;style twocolorramp / startcolor=cxF3F7FE endcolor=cx6497EB;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;BR /&gt;data anno;&lt;BR /&gt;length function style color $ 10 position $ 1 text $5;&lt;BR /&gt;retain flag 0 function 'label' xsys ysys '2' hsys '3' when 'a' ;&lt;BR /&gt;set response_data ;&lt;BR /&gt;color= 'black';&lt;BR /&gt;text=put(age,comma5.);&lt;BR /&gt;position = '5' ;&lt;BR /&gt;size = 2.5;&lt;BR /&gt;style = "Cumberland AMT";&lt;BR /&gt;output;&lt;BR /&gt;run;&lt;BR /&gt;proc gmap data=response_data map=mapsgfk.world;&lt;BR /&gt;id IDNAME;&lt;BR /&gt;choro age/annotate=anno coutline=grayaa xsize = 2 in ysize = 2 in;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:06:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gmap/m-p/307151#M10788</guid>
      <dc:creator>sanjay1</dc:creator>
      <dc:date>2016-10-25T15:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Proc gmap</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gmap/m-p/307161#M10789</link>
      <description>&lt;P&gt;The LEGEND statement controls the location and appearance of your map values.&lt;/P&gt;
&lt;P&gt;You can have multiple legends assigned so you will also need to specify the desired definition you want in the gmap code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something like&lt;/P&gt;
&lt;P&gt;Legend1 position=(top left outside) /* puts the location to the top left of the map on the outside*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;across = 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* how many columns of values, 1 means a single column and will appear vertically*/&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;Then in your CHORO statement add the option Legend=Legend1&lt;/P&gt;
&lt;P&gt;such as:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;choro age/  annotate=anno 
            coutline=grayaa 
            xsize = 2 in 
            ysize = 2 in
            legend=legend1
;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:26:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gmap/m-p/307161#M10789</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-10-25T15:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Proc gmap</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gmap/m-p/307175#M10790</link>
      <description>&lt;P&gt;Or are you talking about an Annotate number?&lt;/P&gt;
&lt;P&gt;If you are talking about annotate, the "position" variable determines where that is written.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#annotate_position.htm" target="_self"&gt;http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#annotate_position.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 16:07:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gmap/m-p/307175#M10790</guid>
      <dc:creator>Darrell_sas</dc:creator>
      <dc:date>2016-10-25T16:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proc gmap</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-gmap/m-p/307333#M10791</link>
      <description>&lt;P&gt;Thank you Ballardw, thats working for me.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 08:04:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-gmap/m-p/307333#M10791</guid>
      <dc:creator>sanjay1</dc:creator>
      <dc:date>2016-10-26T08:04:37Z</dc:date>
    </item>
  </channel>
</rss>

