<?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 Multiple marker symbols in proc sgplot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-marker-symbols-in-proc-sgplot/m-p/447844#M15390</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to have different marker symbols for each color (circlefilled starfilled&amp;nbsp;triangle). Right now I am getting only 'circlefilled' for all colors. Could any one help me how we can get different symbols&amp;nbsp;for different colours? Thanks .&lt;/P&gt;&lt;P&gt;&amp;nbsp;I tried using markerattrs=(symbol=(circlefilled starfilled&amp;nbsp;triangle )&amp;nbsp;). But did not work .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc sgplot data=chg&amp;nbsp; noborder ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; styleattrs datacontrastcolors=(green gold red black blue grey pink) ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; refline 0 / lineattrs=(pattern=shortdash);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; series x=xvar y=yvar / group=subjid grouplc=atrtgrp groupmc=atrtgrp&lt;BR /&gt;&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; markers markerattrs=(symbol=circlefilled )&lt;BR /&gt;&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; lineattrs=(thickness=2 pattern=solid) name='a';&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; keylegend 'a' / title='TRT' type=linecolor valueattrs=(size=7)&lt;BR /&gt;&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; location=inside position=topright across=1 opaque;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xaxis label='Week';&lt;BR /&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Mar 2018 16:29:04 GMT</pubDate>
    <dc:creator>RKC1</dc:creator>
    <dc:date>2018-03-22T16:29:04Z</dc:date>
    <item>
      <title>Multiple marker symbols in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-marker-symbols-in-proc-sgplot/m-p/447844#M15390</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to have different marker symbols for each color (circlefilled starfilled&amp;nbsp;triangle). Right now I am getting only 'circlefilled' for all colors. Could any one help me how we can get different symbols&amp;nbsp;for different colours? Thanks .&lt;/P&gt;&lt;P&gt;&amp;nbsp;I tried using markerattrs=(symbol=(circlefilled starfilled&amp;nbsp;triangle )&amp;nbsp;). But did not work .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc sgplot data=chg&amp;nbsp; noborder ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; styleattrs datacontrastcolors=(green gold red black blue grey pink) ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; refline 0 / lineattrs=(pattern=shortdash);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; series x=xvar y=yvar / group=subjid grouplc=atrtgrp groupmc=atrtgrp&lt;BR /&gt;&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; markers markerattrs=(symbol=circlefilled )&lt;BR /&gt;&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; lineattrs=(thickness=2 pattern=solid) name='a';&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; keylegend 'a' / title='TRT' type=linecolor valueattrs=(size=7)&lt;BR /&gt;&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; location=inside position=topright across=1 opaque;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xaxis label='Week';&lt;BR /&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 16:29:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Multiple-marker-symbols-in-proc-sgplot/m-p/447844#M15390</guid>
      <dc:creator>RKC1</dc:creator>
      <dc:date>2018-03-22T16:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple marker symbols in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-marker-symbols-in-proc-sgplot/m-p/447846#M15391</link>
      <description>&lt;P&gt;Your're probably generating HTML output, using the default HTMLBLUE style. The style has ATTRIORITY=COLOR set, which will give you that behavior. To override it, add this before you run your proc:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics / attrpriority=none;&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>Thu, 22 Mar 2018 16:46:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Multiple-marker-symbols-in-proc-sgplot/m-p/447846#M15391</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-03-22T16:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple marker symbols in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-marker-symbols-in-proc-sgplot/m-p/447850#M15392</link>
      <description>&lt;P&gt;Dear Dan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No, I am creating pdf document, I have all graphics set. I am getting lines in different colour as I specified (datacontrastcolors=(green gold red black blue grey pink).&amp;nbsp; But I want different marker symbols along with circlefiled. Hope you got it. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 16:53:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Multiple-marker-symbols-in-proc-sgplot/m-p/447850#M15392</guid>
      <dc:creator>RKC1</dc:creator>
      <dc:date>2018-03-22T16:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple marker symbols in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-marker-symbols-in-proc-sgplot/m-p/447851#M15393</link>
      <description>&lt;P&gt;Oh, I see what you're doing. You need to remove the SYMBOL from MARKERATTRS and use DATAMARKERS on the STYLEATTRS statement. Like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=chg  noborder ;
     styleattrs datacontrastcolors=(green gold red black blue grey pink) 
                    datamarkers=(circlefilled starfilled triangle ) ;

     refline 0 / lineattrs=(pattern=shortdash);
     series x=xvar y=yvar / group=subjid grouplc=atrtgrp groupmc=atrtgrp
                markers   lineattrs=(thickness=2 pattern=solid) name='a';
     keylegend 'a' / title='TRT' type=linecolor valueattrs=(size=7)
               location=inside position=topright across=1 opaque;

     xaxis label='Week';
   run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Mar 2018 16:59:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Multiple-marker-symbols-in-proc-sgplot/m-p/447851#M15393</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-03-22T16:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple marker symbols in proc sgplot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-marker-symbols-in-proc-sgplot/m-p/447853#M15394</link>
      <description>&lt;P&gt;It would helpful if you could either post data that we can test your code with rewrite it to use SASHELP.CARS&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 17:00:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Multiple-marker-symbols-in-proc-sgplot/m-p/447853#M15394</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-22T17:00:58Z</dc:date>
    </item>
  </channel>
</rss>

