<?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: How to change the default Symbol for Grouped Data in Proc SGPLOT scatter statement in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/300546#M10606</link>
    <description>&lt;P&gt;With SAS 9.4, you can use the STYLEATTRS statement to specify the group symbols, colors and line patterns.&lt;/P&gt;
&lt;P&gt;Note, you need a style like LISTING to see different symbols.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods html style=listing;&lt;BR /&gt;proc sgplot data=sashelp.class;&lt;BR /&gt; styleattrs datasymbols=(circlefilled trianglefilled);&lt;BR /&gt; scatter x=height y=weight / group=sex ;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Sat, 24 Sep 2016 15:56:19 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2016-09-24T15:56:19Z</dc:date>
    <item>
      <title>How to change the default Symbol for Grouped Data in Proc SGPLOT scatter statement</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/300545#M10605</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.class;
  scatter x=height y=weight / group=sex ;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In SAS Studio, I get blue circle for M and red circle for F. &amp;nbsp;Sometimes I can't see if two points are in the same location, as you can see in the following link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/grstatproc/62603/HTML/default/viewer.htm#a003111460.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/grstatproc/62603/HTML/default/viewer.htm#a003111460.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 15:29:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/300545#M10605</guid>
      <dc:creator>Ram_SAS</dc:creator>
      <dc:date>2016-09-24T15:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default Symbol for Grouped Data in Proc SGPLOT scatter statement</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/300546#M10606</link>
      <description>&lt;P&gt;With SAS 9.4, you can use the STYLEATTRS statement to specify the group symbols, colors and line patterns.&lt;/P&gt;
&lt;P&gt;Note, you need a style like LISTING to see different symbols.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods html style=listing;&lt;BR /&gt;proc sgplot data=sashelp.class;&lt;BR /&gt; styleattrs datasymbols=(circlefilled trianglefilled);&lt;BR /&gt; scatter x=height y=weight / group=sex ;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 15:56:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/300546#M10606</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-09-24T15:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default Symbol for Grouped Data in Proc SGPLOT scatter statement</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/300548#M10607</link>
      <description>&lt;P&gt;Thanks for your reply Sanjay. &amp;nbsp;ODS destination gives some error in SAS Studio.&lt;/P&gt;&lt;DIV class="sasError focus-line"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError focus-line"&gt;ERROR: Insufficient authorization to access /opt/sasinside/SASConfig/Lev1/SASApp/sashtml24.htm.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: No body file. HTML output will not be created.&lt;/DIV&gt;</description>
      <pubDate>Sat, 24 Sep 2016 16:29:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/300548#M10607</guid>
      <dc:creator>Ram_SAS</dc:creator>
      <dc:date>2016-09-24T16:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default Symbol for Grouped Data in Proc SGPLOT scatter statement</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/300553#M10608</link>
      <description>&lt;P&gt;With SAS Studio, don't specify the ODS HTML statement like I showed in my code. &amp;nbsp;Just use the STYLEATTRS to set the group marker symbols. &amp;nbsp;The PDF or RTF output should show the different markers. &amp;nbsp;To see different markers in HTML, use ODS GRAPHICS / ATTRPRIORITY=none.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ods graphics / attrpriority=none;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;proc sgplot data=sashelp.class;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;styleattrs datasymbols=(circlefilled trianglefilled);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;scatter x=height y=weight / group=sex ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 17:06:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/300553#M10608</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2016-09-24T17:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default Symbol for Grouped Data in Proc SGPLOT scatter statement</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/300559#M10609</link>
      <description>Great. Thanks for the explanation. I am a big fan of your papers and books. Congratulations on your achievements and contributions in this area!</description>
      <pubDate>Sat, 24 Sep 2016 19:11:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/300559#M10609</guid>
      <dc:creator>Ram_SAS</dc:creator>
      <dc:date>2016-09-24T19:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default Symbol for Grouped Data in Proc SGPLOT scatter statement</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/468178#M16108</link>
      <description>&lt;P&gt;Hi Sanjay,&lt;/P&gt;&lt;P&gt;Is it possible to use different symbols easily for groups as some of printers can't print color graphs?&amp;nbsp; If we can associate each group with different shape regardless/in addition to the color code, that would be great.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kathy Chen&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 20:02:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/468178#M16108</guid>
      <dc:creator>qinghuac</dc:creator>
      <dc:date>2018-06-06T20:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default Symbol for Grouped Data in Proc SGPLOT scatter statement</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/468179#M16109</link>
      <description>&lt;P&gt;sorry.&amp;nbsp; It worked as we speak.&amp;nbsp; I found the options.&amp;nbsp; Thanks much anyway.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 20:02:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/468179#M16109</guid>
      <dc:creator>qinghuac</dc:creator>
      <dc:date>2018-06-06T20:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default Symbol for Grouped Data in Proc SGPLOT scatter statement</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/468180#M16110</link>
      <description>&lt;P&gt;The&amp;nbsp;STYLEATTRS statement can be used to specify the list of colors, symbols and line patters to be used for the groups.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 20:06:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/468180#M16110</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2018-06-06T20:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default Symbol for Grouped Data in Proc SGPLOT scatter statement</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/468535#M16140</link>
      <description>ods graphics / attrpriority=none; does the trick!&lt;BR /&gt;Thanks Sanjay!&lt;BR /&gt;&lt;BR /&gt;BTW, I am working for a different company now. Stay in touch.</description>
      <pubDate>Thu, 07 Jun 2018 21:09:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-the-default-Symbol-for-Grouped-Data-in-Proc-SGPLOT/m-p/468535#M16140</guid>
      <dc:creator>qinghuac</dc:creator>
      <dc:date>2018-06-07T21:09:33Z</dc:date>
    </item>
  </channel>
</rss>

