<?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 proc gmap style options in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-gmap-style-options/m-p/121208#M33421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAS users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking to stylize my gmap output but am struggling with the proper code.&amp;nbsp; Here's what I have right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data anno;&lt;/P&gt;&lt;P&gt;retain xsys ysys '2' hsys '3' function 'label' style 'wingdings' text '6c'x&amp;nbsp; size 3 when 'a';&lt;/P&gt;&lt;P&gt;set have;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; when (topic1 and not topic0) color = 'green';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; when (topic0 and not topic1) color = 'blue';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; otherwise&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; color = 'red';&lt;/P&gt;&lt;P&gt;end; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output is dots with different colors for each 'when' statement (i.e. topic1 and not topic0, etc).&amp;nbsp; I would like an output where I have both different colors and different symbols for each 'when'.&amp;nbsp; I&amp;nbsp; also cannot figure out the coding system for text in style 'wingdings' so that I can select what the symbol should be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2012 13:34:18 GMT</pubDate>
    <dc:creator>sophia_SAS</dc:creator>
    <dc:date>2012-09-13T13:34:18Z</dc:date>
    <item>
      <title>proc gmap style options</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-gmap-style-options/m-p/121208#M33421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAS users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking to stylize my gmap output but am struggling with the proper code.&amp;nbsp; Here's what I have right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data anno;&lt;/P&gt;&lt;P&gt;retain xsys ysys '2' hsys '3' function 'label' style 'wingdings' text '6c'x&amp;nbsp; size 3 when 'a';&lt;/P&gt;&lt;P&gt;set have;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; when (topic1 and not topic0) color = 'green';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; when (topic0 and not topic1) color = 'blue';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; otherwise&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; color = 'red';&lt;/P&gt;&lt;P&gt;end; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output is dots with different colors for each 'when' statement (i.e. topic1 and not topic0, etc).&amp;nbsp; I would like an output where I have both different colors and different symbols for each 'when'.&amp;nbsp; I&amp;nbsp; also cannot figure out the coding system for text in style 'wingdings' so that I can select what the symbol should be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 13:34:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-gmap-style-options/m-p/121208#M33421</guid>
      <dc:creator>sophia_SAS</dc:creator>
      <dc:date>2012-09-13T13:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap style options</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-gmap-style-options/m-p/121209#M33422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way to apply the different symbols would be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When (topic1 and not topic0) do; color='green'; text='a';end;&amp;nbsp; /* the text here being the letter corresponding to the desired symbol*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below code will generate at table of ascii codes and letters (second column) with the third column in the desired font.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data fontvals;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; do i=0 to 255;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y=byte(i);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; j=i;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/* put the name of a true type font here, easiest is to */&lt;BR /&gt;/* open the fonts folder in control panel. DO not put&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;/* extension or (true type), just the name part&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;/* probably need to match capitalization as well&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;%let font= Wingdings;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;BR /&gt;proc print data=fontvals noobs label;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; title "Font name &amp;amp;Font";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; var i;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; var y/ style=[Font_face="Times New Roman" font_size=5];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; var y/ style=[font_face="&amp;amp;font" font_size=40 bordercolor=red];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; label i='ASCII code'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y="";&lt;BR /&gt;run;&lt;BR /&gt;ods listing;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 14:28:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-gmap-style-options/m-p/121209#M33422</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-09-13T14:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: proc gmap style options</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-gmap-style-options/m-p/121210#M33423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... to see the contents of any font, you can use PROC GFONT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GFONT (by default) will show the HEX characters for any symbol and SHOWROMAN adds printable characters to the output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example, try the following and you'll see that a DOT in hex is '6c'x, but you could also specify 'l' (that's a lowercase L) ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc gfont name='wingdings' showroman nobuild;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the first screen produced by GFONT in the graphics output window is attached and based on that chart, you could try something like ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;data anno;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;retain xsys ysys '2' hsys '3' function 'label' style 'wingdings' size 3 when 'a';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;set have;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;select;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* green dot;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; when (topic1 and ^topic0) do; color = 'green'; text = '6c'x; end;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* blue square;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; when (topic0 and ^topic1) do; color = 'blue'; text = '6e'x; end;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* red diamond;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; otherwise&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; do; color = 'red'; text = '75'x; end;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;end; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11329iD20196151DD523F4/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="wingdings.png" title="wingdings.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 14:55:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-gmap-style-options/m-p/121210#M33423</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-09-13T14:55:47Z</dc:date>
    </item>
  </channel>
</rss>

