<?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 sgplot - 9.4 - different marker symbols for grouping but change color based on another vari in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-9-4-different-marker-symbols-for-grouping-but-change/m-p/376109#M12993</link>
    <description>&lt;P&gt;Run the following to identify your version for starters:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc setinit;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Have you tried the STYLEATTRS statement in PROC SGPLOT? Can you provide sample data we can work with?&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2017 17:10:24 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-07-14T17:10:24Z</dc:date>
    <item>
      <title>proc sgplot - 9.4 - different marker symbols for grouping but change color based on another variable</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-9-4-different-marker-symbols-for-grouping-but-change/m-p/376068#M12992</link>
      <description>&lt;P&gt;Hello all, I don't have any issues with getting different marker symbols for the group variable; however, I need to change the color of the symbols based on another variable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am familiar with the &lt;STRONG&gt;grouplc&amp;nbsp;&lt;/STRONG&gt;option, but my version of SAS, which is 9.4, must not be the most up to date version because this option is not recognized. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a different way to achieve this without the grouplc option?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 15:28:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-9-4-different-marker-symbols-for-grouping-but-change/m-p/376068#M12992</guid>
      <dc:creator>BC33</dc:creator>
      <dc:date>2017-07-14T15:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot - 9.4 - different marker symbols for grouping but change color based on another vari</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-9-4-different-marker-symbols-for-grouping-but-change/m-p/376109#M12993</link>
      <description>&lt;P&gt;Run the following to identify your version for starters:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc setinit;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Have you tried the STYLEATTRS statement in PROC SGPLOT? Can you provide sample data we can work with?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 17:10:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-9-4-different-marker-symbols-for-grouping-but-change/m-p/376109#M12993</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-14T17:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot - 9.4 - different marker symbols for grouping but change color based on another vari</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-9-4-different-marker-symbols-for-grouping-but-change/m-p/376609#M12996</link>
      <description>&lt;P&gt;Is the coloring variable continuous or discrete?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 15:25:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-9-4-different-marker-symbols-for-grouping-but-change/m-p/376609#M12996</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-07-17T15:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot - 9.4 - different marker symbols for grouping but change color based on another vari</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-9-4-different-marker-symbols-for-grouping-but-change/m-p/376674#M13003</link>
      <description>&lt;P&gt;Running your code, for current version it says 9.04.01M3P062415&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;STYLEATTRS &amp;nbsp;does help with the styling, but I am not sure specifically how I would achieve what I need using it. &amp;nbsp;Here is a sample data (not real):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;DATE&lt;/TD&gt;&lt;TD&gt;AGE&lt;/TD&gt;&lt;TD&gt;VALUE&lt;/TD&gt;&lt;TD&gt;SUPPORT LEVEL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1/1/2016&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1/3/2017&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;35&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;2/2/2016&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;35&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;2/5/2017&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;5/14/2017&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;36&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;5/15/2017&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;31&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;x is Age, y is Value, the group is ID but I need the color to be by support level&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 17:59:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-9-4-different-marker-symbols-for-grouping-but-change/m-p/376674#M13003</guid>
      <dc:creator>BC33</dc:creator>
      <dc:date>2017-07-17T17:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot - 9.4 - different marker symbols for grouping but change color based on another vari</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-9-4-different-marker-symbols-for-grouping-but-change/m-p/376680#M13004</link>
      <description>&lt;P&gt;I don't believe it to be continuous. &amp;nbsp;I used colorresponse and gradlegend in the scatter&amp;nbsp;to switch the coloring to a different variable other than the group. &amp;nbsp;Now there is a gradient. &amp;nbsp;As you can see in the sample data above,&amp;nbsp;I don't need a gradient just solid colors, but this is the only way I have found thus far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 18:11:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-9-4-different-marker-symbols-for-grouping-but-change/m-p/376680#M13004</guid>
      <dc:creator>BC33</dc:creator>
      <dc:date>2017-07-17T18:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: proc sgplot - 9.4 - different marker symbols for grouping but change color based on another vari</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-9-4-different-marker-symbols-for-grouping-but-change/m-p/376691#M13005</link>
      <description>&lt;P&gt;If the number of unique combinations between your two class variables is reasonable, you can use an attributes map to bind unique symbol shapes and colors to each crossing. You will need to create a variable that contains unique values that represents each crossing. Here is a blog post that will give you an introduction to attributes maps if you have not used them:&amp;nbsp;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2012/02/27/roses-are-red-violets-are-blue/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/2012/02/27/roses-are-red-violets-are-blue/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 18:33:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-sgplot-9-4-different-marker-symbols-for-grouping-but-change/m-p/376691#M13005</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-07-17T18:33:03Z</dc:date>
    </item>
  </channel>
</rss>

