<?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 Can I change line thickness different for the variables in my group based on pvalues for LOESS? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Can-I-change-line-thickness-different-for-the-variables-in-my/m-p/707109#M20827</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using sgplot to create a loess graph of grouped data. I have created an indicator variable that determines whether the association is above or below a pvalue of 0.05. I saw that there is a way to create a thickness response when making a series plot. However, I haven't gotten it to work when I am using a LOESS graph. Is there any way to do that? I have copied one of my attempts below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc sgplot data=compiled aspect=1 ;
where &amp;amp;rank. &amp;amp; &amp;amp;hormone.;
loess y=lsmean x=LSMeanNumber/group=metabolite markerattrs=(size=0) lineattrs=( thickresp= thickmax=7px)
;
xaxis grid label="Rank" LABELATTRS=(family='Times New Roman' size=10) LABELATTRS=(family='Times New Roman' size=12) valueattrs=(family='Times New Roman' size=12pt); 
YAXIS grid label="ln(hormone) concentration" LABELATTRS=(family='Times New Roman' size=10)  LABELATTRS=(family='Times New Roman' size=12 ) valueattrs=( family='Times New Roman' size=12pt) min=3.5 max=4.5;
format metabolite summaryscore. hormone hormoneln.;
styleattrs datacontrastcolors=(BIGB  VIPB  DELG VIRO STPPK VIYPK );

title " ";
run;&lt;/PRE&gt;</description>
    <pubDate>Sat, 19 Dec 2020 01:03:01 GMT</pubDate>
    <dc:creator>bchronister</dc:creator>
    <dc:date>2020-12-19T01:03:01Z</dc:date>
    <item>
      <title>Can I change line thickness different for the variables in my group based on pvalues for LOESS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-I-change-line-thickness-different-for-the-variables-in-my/m-p/707109#M20827</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using sgplot to create a loess graph of grouped data. I have created an indicator variable that determines whether the association is above or below a pvalue of 0.05. I saw that there is a way to create a thickness response when making a series plot. However, I haven't gotten it to work when I am using a LOESS graph. Is there any way to do that? I have copied one of my attempts below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc sgplot data=compiled aspect=1 ;
where &amp;amp;rank. &amp;amp; &amp;amp;hormone.;
loess y=lsmean x=LSMeanNumber/group=metabolite markerattrs=(size=0) lineattrs=( thickresp= thickmax=7px)
;
xaxis grid label="Rank" LABELATTRS=(family='Times New Roman' size=10) LABELATTRS=(family='Times New Roman' size=12) valueattrs=(family='Times New Roman' size=12pt); 
YAXIS grid label="ln(hormone) concentration" LABELATTRS=(family='Times New Roman' size=10)  LABELATTRS=(family='Times New Roman' size=12 ) valueattrs=( family='Times New Roman' size=12pt) min=3.5 max=4.5;
format metabolite summaryscore. hormone hormoneln.;
styleattrs datacontrastcolors=(BIGB  VIPB  DELG VIRO STPPK VIYPK );

title " ";
run;&lt;/PRE&gt;</description>
      <pubDate>Sat, 19 Dec 2020 01:03:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-I-change-line-thickness-different-for-the-variables-in-my/m-p/707109#M20827</guid>
      <dc:creator>bchronister</dc:creator>
      <dc:date>2020-12-19T01:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can I change line thickness different for the variables in my group based on pvalues for LOESS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-I-change-line-thickness-different-for-the-variables-in-my/m-p/707127#M20828</link>
      <description>&lt;P&gt;You may be able to save the data output of the LOESS function from your code to an ODS output data set, and then use it for a SERIES plot with the&amp;nbsp;&lt;A tabindex="0" href="https://documentation.sas.com/#n10091lo6ro2rvn1lmorepzs4fgpa" data-docset-id="grstatproc" data-docset-version="9.4" data-original-href="#n10091lo6ro2rvn1lmorepzs4fgpa" target="_blank"&gt;THICKRESP=&lt;EM class="xisDoc-userSuppliedValue"&gt;numeric-variable&amp;nbsp;&lt;/EM&gt;&lt;/A&gt;option to set line thickness by the p-value variable column.&amp;nbsp; See other related options in doc to customize the output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=grstatproc&amp;amp;docsetTarget=n1jkqnmk6y6ms9n1b2vvubyzqd4a.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=grstatproc&amp;amp;docsetTarget=n1jkqnmk6y6ms9n1b2vvubyzqd4a.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2020 04:24:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-I-change-line-thickness-different-for-the-variables-in-my/m-p/707127#M20828</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2020-12-19T04:24:28Z</dc:date>
    </item>
  </channel>
</rss>

