<?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: Customizing Proc Loess in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Customizing-Proc-Loess/m-p/343024#M11896</link>
    <description>&lt;P&gt;The easiest way to accomplish this is to use PROC SGPLOT and overlay a loess curve on top of a scatter plot with the GROUP= option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.cars(obs=100);
scatter x=weight y=mpg_city / group=origin markerattrs=(symbol=CircleFilled);
loess x=weight y=mpg_city / smooth=0.5 nomarkers;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 21 Mar 2017 18:58:36 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2017-03-21T18:58:36Z</dc:date>
    <item>
      <title>Customizing Proc Loess</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Customizing-Proc-Loess/m-p/343021#M11895</link>
      <description>&lt;P&gt;I am running proc loess and would like the dots to be different colors based on a variable. The variable values are A, B, or C and I want the dots to be a specific color depending on if they are A, B, or C. I would still like all the data to remain on the same graph. I would also like a legend.&amp;nbsp;I couldn't find the option within proc loess so I was hoping maybe there was a global option or format that could do it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS 9.4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc loess data=Veh_All_Ramp1_106 plots(only)=fit;
	model speed=distance / smooth=0.5;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Mar 2017 18:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Customizing-Proc-Loess/m-p/343021#M11895</guid>
      <dc:creator>michelconn</dc:creator>
      <dc:date>2017-03-21T18:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing Proc Loess</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Customizing-Proc-Loess/m-p/343024#M11896</link>
      <description>&lt;P&gt;The easiest way to accomplish this is to use PROC SGPLOT and overlay a loess curve on top of a scatter plot with the GROUP= option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.cars(obs=100);
scatter x=weight y=mpg_city / group=origin markerattrs=(symbol=CircleFilled);
loess x=weight y=mpg_city / smooth=0.5 nomarkers;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Mar 2017 18:58:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Customizing-Proc-Loess/m-p/343024#M11896</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-03-21T18:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing Proc Loess</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Customizing-Proc-Loess/m-p/343029#M11897</link>
      <description>&lt;P&gt;Here is an example using sashelp.class:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.class;
loess x=height y=weight / nomarkers smooth=0.5;
scatter x=height y=weight / group=sex markerattrs=(symbol=circlefilled);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7864i3726662ED7F8A9A8/image-size/medium?v=1.0&amp;amp;px=-1" border="0" alt="SGPlot2.png" title="SGPlot2.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 19:03:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Customizing-Proc-Loess/m-p/343029#M11897</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-03-21T19:03:21Z</dc:date>
    </item>
  </channel>
</rss>

