<?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 how to change line color pattern in sgplot with group using 9.3 (TS1M2) in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/how-to-change-line-color-pattern-in-sgplot-with-group-using-9-3/m-p/647912#M19892</link>
    <description>&lt;P&gt;I want to have different line colors and patterns for group variable in sgplot&lt;/P&gt;
&lt;P&gt;I have tried to use dattrmap but not sure why it wont work&lt;/P&gt;
&lt;P&gt;thanks for your help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data attrmap; &lt;BR /&gt;length id $10 value $10 linecolor $15 linepattern $10 markercolor $9 markersymbol $40;&lt;BR /&gt;input id $ value $ linecolor $ linepattern $ markercolor $ markersymbol $ ;&lt;BR /&gt;cards;&lt;BR /&gt;myid 1 blue solid blue square &lt;BR /&gt;myid 2 blue dash blue triangle&lt;BR /&gt;myid 3 lightblue solid lightblue star &lt;BR /&gt;myid 4 lightblue dash lightblue circle &lt;BR /&gt;myid 5 red solid red plus&lt;BR /&gt;myid 6 red dash red diamond&lt;BR /&gt;; &lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgplot data=stat_1 dattrmap=attrmap; &lt;BR /&gt;series y=aval x=avisit /group=actarmcd attrid=myid&amp;nbsp; markers ;&lt;BR /&gt;xaxis label='Visit' ; &lt;BR /&gt;yaxis label="Mean" offsetmin=0 min=0; &lt;BR /&gt;keylegend /title=' ' noborder ;&lt;BR /&gt;format actarmcd $armcd.;&lt;BR /&gt;run;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 May 2020 19:54:30 GMT</pubDate>
    <dc:creator>sueshaw</dc:creator>
    <dc:date>2020-05-14T19:54:30Z</dc:date>
    <item>
      <title>how to change line color pattern in sgplot with group using 9.3 (TS1M2)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-change-line-color-pattern-in-sgplot-with-group-using-9-3/m-p/647912#M19892</link>
      <description>&lt;P&gt;I want to have different line colors and patterns for group variable in sgplot&lt;/P&gt;
&lt;P&gt;I have tried to use dattrmap but not sure why it wont work&lt;/P&gt;
&lt;P&gt;thanks for your help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data attrmap; &lt;BR /&gt;length id $10 value $10 linecolor $15 linepattern $10 markercolor $9 markersymbol $40;&lt;BR /&gt;input id $ value $ linecolor $ linepattern $ markercolor $ markersymbol $ ;&lt;BR /&gt;cards;&lt;BR /&gt;myid 1 blue solid blue square &lt;BR /&gt;myid 2 blue dash blue triangle&lt;BR /&gt;myid 3 lightblue solid lightblue star &lt;BR /&gt;myid 4 lightblue dash lightblue circle &lt;BR /&gt;myid 5 red solid red plus&lt;BR /&gt;myid 6 red dash red diamond&lt;BR /&gt;; &lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgplot data=stat_1 dattrmap=attrmap; &lt;BR /&gt;series y=aval x=avisit /group=actarmcd attrid=myid&amp;nbsp; markers ;&lt;BR /&gt;xaxis label='Visit' ; &lt;BR /&gt;yaxis label="Mean" offsetmin=0 min=0; &lt;BR /&gt;keylegend /title=' ' noborder ;&lt;BR /&gt;format actarmcd $armcd.;&lt;BR /&gt;run;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 19:54:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-change-line-color-pattern-in-sgplot-with-group-using-9-3/m-p/647912#M19892</guid>
      <dc:creator>sueshaw</dc:creator>
      <dc:date>2020-05-14T19:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to change line color pattern in sgplot with group using 9.3 (TS1M2)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-change-line-color-pattern-in-sgplot-with-group-using-9-3/m-p/647913#M19893</link>
      <description>I got it..&lt;BR /&gt;because I used format statement...  value in datarmap had to use formatted value..&lt;BR /&gt;</description>
      <pubDate>Thu, 14 May 2020 19:57:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-change-line-color-pattern-in-sgplot-with-group-using-9-3/m-p/647913#M19893</guid>
      <dc:creator>sueshaw</dc:creator>
      <dc:date>2020-05-14T19:57:02Z</dc:date>
    </item>
  </channel>
</rss>

