<?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 PROC GPLOT to PROC SGPLOT transformation in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-GPLOT-to-PROC-SGPLOT-transformation/m-p/601175#M23454</link>
    <description>&lt;P&gt;Hi! I'm relatively new to SAS and have been provided with code under PROC GPLOT, which doesn't work in my sas university edition. I'm trying to transform the code into a PROC SGPLOT step and am a little unclear on what else I should include/change to make sure the graph in my output matches what it would be under gplot. I'm using SAS Studio Version 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The gplot code is this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;PROC GPLOT&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;data&lt;/FONT&gt; = Work.HW1;
   &lt;FONT color="#0000FF"&gt;PLOT&lt;/FONT&gt; chol*wtkg=&lt;STRONG&gt;&lt;FONT color="#008080"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; chol*wtkg=&lt;FONT color="#008080"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/FONT&gt; / &lt;FONT color="#0000FF"&gt;OVERLAY VAXIS&lt;/FONT&gt;  =axis1;
   &lt;FONT color="#0000FF"&gt;SYMBOL1 INTERPO&lt;/FONT&gt;L=rlcli &lt;FONT color="#0000FF"&gt;COLOR&lt;/FONT&gt;=black &lt;FONT color="#0000FF"&gt;VALUE&lt;/FONT&gt;=dot;
  &lt;FONT color="#0000FF"&gt; SYMBOL2 INTERPOL&lt;/FONT&gt;=rlclm &lt;FONT color="#0000FF"&gt;COLOR&lt;/FONT&gt;=black &lt;FONT color="#0000FF"&gt;VALUE&lt;/FONT&gt;=dot;
   &lt;FONT color="#0000FF"&gt;AXIS1 LABEL&lt;/FONT&gt; = (FONT=ARIAL HEIGHT= &lt;STRONG&gt;&lt;FONT color="#008080"&gt;1.5&lt;/FONT&gt;&lt;/STRONG&gt; ANGLE=&lt;STRONG&gt;&lt;FONT color="#008080"&gt;90&lt;/FONT&gt;&lt;/STRONG&gt; POSITION=center);
&lt;FONT color="#000080"&gt;&lt;STRONG&gt;RUN;&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and here is what I have for my sgplot code so far:&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;PROC SGPLOT&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;DATA&lt;/FONT&gt;=Work.HW1; 
&lt;FONT color="#0000FF"&gt;series&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;y&lt;/FONT&gt;=chol &lt;FONT color="#0000FF"&gt;x&lt;/FONT&gt;=wtkg;
&lt;FONT color="#0000FF"&gt;xaxis LABELPOS&lt;/FONT&gt;=center;   
&lt;FONT color="#000080"&gt;&lt;STRONG&gt;RUN;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;Any help would be greatly appreciated, thank you!!&lt;/P&gt;</description>
    <pubDate>Sat, 02 Nov 2019 21:40:47 GMT</pubDate>
    <dc:creator>ell_m</dc:creator>
    <dc:date>2019-11-02T21:40:47Z</dc:date>
    <item>
      <title>PROC GPLOT to PROC SGPLOT transformation</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-GPLOT-to-PROC-SGPLOT-transformation/m-p/601175#M23454</link>
      <description>&lt;P&gt;Hi! I'm relatively new to SAS and have been provided with code under PROC GPLOT, which doesn't work in my sas university edition. I'm trying to transform the code into a PROC SGPLOT step and am a little unclear on what else I should include/change to make sure the graph in my output matches what it would be under gplot. I'm using SAS Studio Version 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The gplot code is this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;PROC GPLOT&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;data&lt;/FONT&gt; = Work.HW1;
   &lt;FONT color="#0000FF"&gt;PLOT&lt;/FONT&gt; chol*wtkg=&lt;STRONG&gt;&lt;FONT color="#008080"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; chol*wtkg=&lt;FONT color="#008080"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/FONT&gt; / &lt;FONT color="#0000FF"&gt;OVERLAY VAXIS&lt;/FONT&gt;  =axis1;
   &lt;FONT color="#0000FF"&gt;SYMBOL1 INTERPO&lt;/FONT&gt;L=rlcli &lt;FONT color="#0000FF"&gt;COLOR&lt;/FONT&gt;=black &lt;FONT color="#0000FF"&gt;VALUE&lt;/FONT&gt;=dot;
  &lt;FONT color="#0000FF"&gt; SYMBOL2 INTERPOL&lt;/FONT&gt;=rlclm &lt;FONT color="#0000FF"&gt;COLOR&lt;/FONT&gt;=black &lt;FONT color="#0000FF"&gt;VALUE&lt;/FONT&gt;=dot;
   &lt;FONT color="#0000FF"&gt;AXIS1 LABEL&lt;/FONT&gt; = (FONT=ARIAL HEIGHT= &lt;STRONG&gt;&lt;FONT color="#008080"&gt;1.5&lt;/FONT&gt;&lt;/STRONG&gt; ANGLE=&lt;STRONG&gt;&lt;FONT color="#008080"&gt;90&lt;/FONT&gt;&lt;/STRONG&gt; POSITION=center);
&lt;FONT color="#000080"&gt;&lt;STRONG&gt;RUN;&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and here is what I have for my sgplot code so far:&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;PROC SGPLOT&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;DATA&lt;/FONT&gt;=Work.HW1; 
&lt;FONT color="#0000FF"&gt;series&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;y&lt;/FONT&gt;=chol &lt;FONT color="#0000FF"&gt;x&lt;/FONT&gt;=wtkg;
&lt;FONT color="#0000FF"&gt;xaxis LABELPOS&lt;/FONT&gt;=center;   
&lt;FONT color="#000080"&gt;&lt;STRONG&gt;RUN;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;Any help would be greatly appreciated, thank you!!&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2019 21:40:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-GPLOT-to-PROC-SGPLOT-transformation/m-p/601175#M23454</guid>
      <dc:creator>ell_m</dc:creator>
      <dc:date>2019-11-02T21:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GPLOT to PROC SGPLOT transformation</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-GPLOT-to-PROC-SGPLOT-transformation/m-p/601203#M23455</link>
      <description>&lt;P&gt;You should get a decent looking graph with a regression plot :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; proc sgplot data=HW1;
   reg y=chol x=wtkg / cli clm lineattrs=(color=black pattern=solid) markerattrs=(symbol=circlefilled);
   run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;There are lots of options to customize the plot.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Nov 2019 05:20:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-GPLOT-to-PROC-SGPLOT-transformation/m-p/601203#M23455</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-11-03T05:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GPLOT to PROC SGPLOT transformation</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-GPLOT-to-PROC-SGPLOT-transformation/m-p/601687#M23457</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/297968"&gt;@ell_m&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi! I'm relatively new to SAS and have been provided with code under PROC GPLOT, which doesn't work in my sas university edition. I'm trying to transform the code into a PROC SGPLOT step and am a little unclear on what else I should include/change to make sure the graph in my output matches what it would be under gplot. I'm using SAS Studio Version 9.4.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The gplot code is this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;PROC GPLOT&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;data&lt;/FONT&gt; = Work.HW1;
   &lt;FONT color="#0000ff"&gt;PLOT&lt;/FONT&gt; chol*wtkg=&lt;STRONG&gt;&lt;FONT color="#008080"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; chol*wtkg=&lt;FONT color="#008080"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/FONT&gt; / &lt;FONT color="#0000ff"&gt;OVERLAY VAXIS&lt;/FONT&gt;  =axis1;
   &lt;FONT color="#0000ff"&gt;SYMBOL1 INTERPO&lt;/FONT&gt;L=rlcli &lt;FONT color="#0000ff"&gt;COLOR&lt;/FONT&gt;=black &lt;FONT color="#0000ff"&gt;VALUE&lt;/FONT&gt;=dot;
  &lt;FONT color="#0000ff"&gt; SYMBOL2 INTERPOL&lt;/FONT&gt;=rlclm &lt;FONT color="#0000ff"&gt;COLOR&lt;/FONT&gt;=black &lt;FONT color="#0000ff"&gt;VALUE&lt;/FONT&gt;=dot;
   &lt;FONT color="#0000ff"&gt;AXIS1 LABEL&lt;/FONT&gt; = (FONT=ARIAL HEIGHT= &lt;STRONG&gt;&lt;FONT color="#008080"&gt;1.5&lt;/FONT&gt;&lt;/STRONG&gt; ANGLE=&lt;STRONG&gt;&lt;FONT color="#008080"&gt;90&lt;/FONT&gt;&lt;/STRONG&gt; POSITION=center);
&lt;FONT color="#000080"&gt;&lt;STRONG&gt;RUN;&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and here is what I have for my sgplot code so far:&lt;/P&gt;
&lt;PRE&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;PROC SGPLOT&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;DATA&lt;/FONT&gt;=Work.HW1; 
&lt;FONT color="#0000ff"&gt;series&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;y&lt;/FONT&gt;=chol &lt;FONT color="#0000ff"&gt;x&lt;/FONT&gt;=wtkg;
&lt;FONT color="#0000ff"&gt;xaxis LABELPOS&lt;/FONT&gt;=center;   
&lt;FONT color="#000080"&gt;&lt;STRONG&gt;RUN;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;Any help would be greatly appreciated, thank you!!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your old SAS/Graph&amp;nbsp;symbol statement interpolation options RLCLI and RLCLM are asking for regression plots. The first requests showing the confidence limits of the individual y values and the second the confidence limits of the mean of the y values.&lt;/P&gt;
&lt;P&gt;So the changes to SGPLOT as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt;&amp;nbsp;shows allow requesting both at one time.&lt;/P&gt;
&lt;P&gt;You could specify attributes for each of the limit types such as line color or pattern with the CLIATTRS, for the confidence limits of individual values, or CLMATTRS for the confidence limits of the mean.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 15:49:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-GPLOT-to-PROC-SGPLOT-transformation/m-p/601687#M23457</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-11-05T15:49:16Z</dc:date>
    </item>
  </channel>
</rss>

