<?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: ERROR: Procedure GPLOT not found in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/ERROR-Procedure-GPLOT-not-found/m-p/234006#M8472</link>
    <description>&lt;P&gt;&lt;SPAN&gt;For starters, you can use:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;procs sgplot;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; scatter y=diff x=variable;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; refline 0;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you want a HighLow plot, use HIGHLOW instead of SCATTER.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Nov 2015 14:19:41 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2015-11-10T14:19:41Z</dc:date>
    <item>
      <title>ERROR: Procedure GPLOT not found</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ERROR-Procedure-GPLOT-not-found/m-p/233955#M8470</link>
      <description>&lt;P&gt;I am trying to replicate the following code from&amp;nbsp;&lt;A href="https://onlinecourses.science.psu.edu/stat505/node/118" target="_blank"&gt;https://onlinecourses.science.psu.edu/stat505/node/118&lt;/A&gt; but it gives me the message "&lt;SPAN&gt;ERROR: Procedure GPLOT not found." I know that I need to use sgplot in some way since I use the SAS OnDemand but I am not sure what exactly I need to change in the code to make it work. If somebody could help me resolve this problem, I would appreciate it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options ls=78;&lt;BR /&gt;title "Profile Plot - Spouse Data";&lt;BR /&gt;%let p=4;&lt;BR /&gt;data spouse;&lt;BR /&gt;infile "/folders/myfolders/STAT407/nutrient.txt";&lt;BR /&gt;input h1 h2 h3 h4 w1 w2 w3 w4;&lt;BR /&gt;variable=1; diff=h1-w1; output;&lt;BR /&gt;variable=2; diff=h2-w2; output;&lt;BR /&gt;variable=3; diff=h3-w3; output;&lt;BR /&gt;variable=4; diff=h4-w4; output;&lt;BR /&gt;drop h1 h2 h3 h4 w1 w2 w3 w4;&lt;BR /&gt;run;&lt;BR /&gt;proc sort;&lt;BR /&gt;by variable;&lt;BR /&gt;run;&lt;BR /&gt;proc means;&lt;BR /&gt;by variable;&lt;BR /&gt;var diff;&lt;BR /&gt;output out=a n=n mean=xbar var=s2;&lt;BR /&gt;run;&lt;BR /&gt;data b;&lt;BR /&gt;set a;&lt;BR /&gt;f=finv(0.95,&amp;amp;p,n-&amp;amp;p);&lt;BR /&gt;diff=xbar; output;&lt;BR /&gt;diff=xbar-sqrt(&amp;amp;p*(n-1)*f*s2/(n-&amp;amp;p)/n); output;&lt;BR /&gt;diff=xbar+sqrt(&amp;amp;p*(n-1)*f*s2/(n-&amp;amp;p)/n); output;&lt;BR /&gt;run;&lt;BR /&gt;proc gplot;&lt;BR /&gt;axis1 length=4 in;&lt;BR /&gt;axis2 length=6 in;&lt;BR /&gt;plot diff*variable / vaxis=axis1 haxis=axis2 vref=0 lvref=21;&lt;BR /&gt;symbol v=none i=hilot color=black;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 00:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ERROR-Procedure-GPLOT-not-found/m-p/233955#M8470</guid>
      <dc:creator>Gregory</dc:creator>
      <dc:date>2015-11-10T00:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Procedure GPLOT not found</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ERROR-Procedure-GPLOT-not-found/m-p/233963#M8471</link>
      <description>SGPLOT and GPLOT are not interchangeable. You need to find the appropriate syntax. I believe PROC SGPLOT with the SCATTER along with HREF/VREF is what you're looking for, to start with .</description>
      <pubDate>Tue, 10 Nov 2015 03:02:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ERROR-Procedure-GPLOT-not-found/m-p/233963#M8471</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-11-10T03:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Procedure GPLOT not found</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ERROR-Procedure-GPLOT-not-found/m-p/234006#M8472</link>
      <description>&lt;P&gt;&lt;SPAN&gt;For starters, you can use:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;procs sgplot;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; scatter y=diff x=variable;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; refline 0;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you want a HighLow plot, use HIGHLOW instead of SCATTER.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 14:19:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ERROR-Procedure-GPLOT-not-found/m-p/234006#M8472</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2015-11-10T14:19:41Z</dc:date>
    </item>
  </channel>
</rss>

