<?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: Grouped Scatter Plot with PROC SGPLOT in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Scatter-Plot-with-PROC-SGPLOT/m-p/297130#M10514</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to set the ATTRPRIORITY= option with the ODS GRAPHICS statement, see example below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics / attrpriority=none;

proc sgplot data=sashelp.iris;
  title 'Fisher (1936) Iris Data';
  styleattrs
    datasymbols=(circlefilled squarefilled starfilled)
  ;
  scatter x=petallength y=petalwidth / group=species markerattrs=(size=5px);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2016 08:27:50 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2016-09-08T08:27:50Z</dc:date>
    <item>
      <title>Grouped Scatter Plot with PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Scatter-Plot-with-PROC-SGPLOT/m-p/297127#M10513</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run this sas code&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;proc sgplot data=sashelp.iris;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;title 'Fisher (1936) Iris Data';&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;styleattrs datasymbols=(circlefilled squarefilled starfilled);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;scatter x=petallength y=petalwidth / group=species markerattrs=(size=5px);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;expect to see &amp;nbsp;CIRCLEFILLED , SQUAREFILLED , STARFILLED&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i have gotten as below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you please suggest me what's happen?&lt;/P&gt;&lt;P&gt;* I use SAS9.4 with Windows 10&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12951iB2E24A28260AD51B/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="ScreenHunter_80 Sep. 08 16.03.jpg" title="ScreenHunter_80 Sep. 08 16.03.jpg" /&gt;</description>
      <pubDate>Thu, 08 Sep 2016 08:05:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Scatter-Plot-with-PROC-SGPLOT/m-p/297127#M10513</guid>
      <dc:creator>kritima</dc:creator>
      <dc:date>2016-09-08T08:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Scatter Plot with PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Scatter-Plot-with-PROC-SGPLOT/m-p/297130#M10514</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to set the ATTRPRIORITY= option with the ODS GRAPHICS statement, see example below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics / attrpriority=none;

proc sgplot data=sashelp.iris;
  title 'Fisher (1936) Iris Data';
  styleattrs
    datasymbols=(circlefilled squarefilled starfilled)
  ;
  scatter x=petallength y=petalwidth / group=species markerattrs=(size=5px);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2016 08:27:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Scatter-Plot-with-PROC-SGPLOT/m-p/297130#M10514</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2016-09-08T08:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Scatter Plot with PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Grouped-Scatter-Plot-with-PROC-SGPLOT/m-p/297204#M10517</link>
      <description>&lt;P&gt;Just to comment further on Bruno's correct answer, the reason you need that option in this case is that the default ODS style for HTML output is HTMLBlue. In that particular style, the ATTRPRIORITY is explicitly set to COLOR, which means all of the style colors are exhausted before moving to the next marker symbol or line pattern. The option on the ODS GRAPHICS statement overrides the style setting. Most of the other ODS styles do not set this option, but setting the option on the ODS GRAPHICS statement will guarantee the behavior you want.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2016 15:59:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Grouped-Scatter-Plot-with-PROC-SGPLOT/m-p/297204#M10517</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-09-08T15:59:33Z</dc:date>
    </item>
  </channel>
</rss>

