<?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: Editing the legend in a map in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Editing-the-legend-in-a-map/m-p/773008#M22115</link>
    <description>&lt;P&gt;If you use an xsys and ysys value of '3', then the coordinate system for anno is 0-100 in each direction.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Oct 2021 11:45:00 GMT</pubDate>
    <dc:creator>GraphGuy</dc:creator>
    <dc:date>2021-10-08T11:45:00Z</dc:date>
    <item>
      <title>Editing the legend in a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Editing-the-legend-in-a-map/m-p/772842#M22110</link>
      <description>&lt;P&gt;This is the tail end of a program that colors states into two groups and also creates a filled circle around the city of Seattle.&amp;nbsp; It creates a legend for the two groups of states, however, I would like to add the color for the circle around Seattle to the legend, which comes from the ANNO dataset.&amp;nbsp; &amp;nbsp;Is there a way to tell SAS to include that in the legend?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Separate projected data into map and anno datasets */&lt;BR /&gt;DATA usmap anno;&lt;BR /&gt;SET us48_proj;&lt;BR /&gt;IF flag=1 THEN OUTPUT anno;&lt;BR /&gt;ELSE OUTPUT usmap;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value TEC_NAME&lt;BR /&gt;1='Group 1'&lt;BR /&gt;2='Group 2'&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;TITLE1 "Example";&lt;BR /&gt;pattern1 value=msolid color=Yellow;&lt;BR /&gt;pattern2 value=msolid color=Brown;&lt;BR /&gt;PROC GMAP DATA=usmap MAP=usmap ANNO=anno;&lt;BR /&gt;ID ID;&lt;BR /&gt;CHORO cat / levels=11 COUTLINE=black MISSING;&lt;BR /&gt;FORMAT cat TEC_NAME.;&lt;BR /&gt;RUN; QUIT;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 18:25:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Editing-the-legend-in-a-map/m-p/772842#M22110</guid>
      <dc:creator>Batman</dc:creator>
      <dc:date>2021-10-07T18:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Editing the legend in a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Editing-the-legend-in-a-map/m-p/772845#M22111</link>
      <description>&lt;P&gt;I don't know of a built-in way to add extra things to the official legend in SAS/Graph GMap. I do what you're doing - annotate the extra stuff. Here's an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://robslink.com/SAS/democd104/covid_uscounty_snapshots.sas" target="_blank"&gt;https://robslink.com/SAS/democd104/covid_uscounty_snapshots.sas&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="annotate_legend.png" style="width: 800px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64490iA24CCAC919D55EFD/image-size/large?v=v2&amp;amp;px=999" role="button" title="annotate_legend.png" alt="annotate_legend.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 18:37:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Editing-the-legend-in-a-map/m-p/772845#M22111</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2021-10-07T18:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Editing the legend in a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Editing-the-legend-in-a-map/m-p/772860#M22112</link>
      <description>That is helpful. Is there a way to display the coordinates on the map to I can try to moved the anno items around?</description>
      <pubDate>Thu, 07 Oct 2021 19:25:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Editing-the-legend-in-a-map/m-p/772860#M22112</guid>
      <dc:creator>Batman</dc:creator>
      <dc:date>2021-10-07T19:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Editing the legend in a map</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Editing-the-legend-in-a-map/m-p/773008#M22115</link>
      <description>&lt;P&gt;If you use an xsys and ysys value of '3', then the coordinate system for anno is 0-100 in each direction.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 11:45:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Editing-the-legend-in-a-map/m-p/773008#M22115</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2021-10-08T11:45:00Z</dc:date>
    </item>
  </channel>
</rss>

