<?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 line type in Proc Sgplot reg statement in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-change-line-type-in-Proc-Sgplot-reg-statement/m-p/92322#M26279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out. One way to do it is using proc template to change the default style.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2012 16:36:18 GMT</pubDate>
    <dc:creator>LilyY_</dc:creator>
    <dc:date>2012-06-26T16:36:18Z</dc:date>
    <item>
      <title>How to change line type in Proc Sgplot reg statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-change-line-type-in-Proc-Sgplot-reg-statement/m-p/92321#M26278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used proc sgplot reg statement to produce graphs. I used 'group' option to produce regression line for each group of a variable. Say one regression line each for low, med, and high BP levels. By default, I will get 3 different color lines. How can I get 3 different types of the lines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg x=A y=B /group=&amp;amp;variable&amp;nbsp; nomarkers; This is the one I used. I got 3 different colored lines. I want the same color but different type lines. Any easy way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried lineattrs, but this will change all 3 lines.&lt;/P&gt;&lt;P&gt;reg x=A y=B /group=&amp;amp;variable lineattrs=(pattern=2)&amp;nbsp; nomarkers;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lily&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 15:14:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-change-line-type-in-Proc-Sgplot-reg-statement/m-p/92321#M26278</guid>
      <dc:creator>LilyY_</dc:creator>
      <dc:date>2012-06-26T15:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to change line type in Proc Sgplot reg statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-change-line-type-in-Proc-Sgplot-reg-statement/m-p/92322#M26279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out. One way to do it is using proc template to change the default style.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 16:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-change-line-type-in-Proc-Sgplot-reg-statement/m-p/92322#M26279</guid>
      <dc:creator>LilyY_</dc:creator>
      <dc:date>2012-06-26T16:36:18Z</dc:date>
    </item>
  </channel>
</rss>

