<?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: PROC gplot in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268446#M58089</link>
    <description>&lt;P&gt;I don't download attachments.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Post your code/log if it doesn't work in the message, preferably in a code window.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2016 03:53:23 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-05-05T03:53:23Z</dc:date>
    <item>
      <title>PROC gplot</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268412#M58084</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I try to plot graph using PROC GPLOT:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PROC GPLOT DATA = lead1;

footnote j=l 'curve'
	j=r 'MAT 4672 Lab 21';
plot iqf*fwtd=3/ frame cframe=beige;;
RUN;
QUIT;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and i got this&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3051i44C94D06021701EA/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="gplot.png" title="gplot.png" /&gt;&lt;/P&gt;&lt;P&gt;How make it nice and sorted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S&lt;/P&gt;&lt;P&gt;I tried that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PROC SORT data = lead1;
by fwtd;
run;
PROC GPLOT DATA = lead1;

footnote j=l 'curve'
	j=r 'MAT 4672 Lab 21';
plot iqf*fwtd=3/ frame cframe=beige;;
RUN;
QUIT;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and got that:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3052i348159B40B0EE851/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="gplot1.png" title="gplot1.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 01:09:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268412#M58084</guid>
      <dc:creator>bigban777</dc:creator>
      <dc:date>2016-05-05T01:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: PROC gplot</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268424#M58085</link>
      <description>&lt;P&gt;What are you expecting to get? And what do you think the = 3 means in your plot statement?&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 01:56:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268424#M58085</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-05T01:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: PROC gplot</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268426#M58086</link>
      <description>1)3 means squares instead just dots&lt;BR /&gt;2) i am expecting graph through all points(squares) and sorted by X axis like&lt;BR /&gt;&lt;A href="https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSnEg3_Ebu_DNwEWswUg8aygvFFBKT61C9alWAMhujgcFzPZOSC" target="_blank"&gt;https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSnEg3_Ebu_DNwEWswUg8aygvFFBKT61C9alWAMhujgcFzPZOSC&lt;/A&gt;</description>
      <pubDate>Thu, 05 May 2016 02:04:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268426#M58086</guid>
      <dc:creator>bigban777</dc:creator>
      <dc:date>2016-05-05T02:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: PROC gplot</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268432#M58087</link>
      <description>&lt;P&gt;Yeah, I don't think 3 does what you think it does. I can't test it, but I think you want something like this, where you use the symbol statement to define the symbol (square) and the interpol=j to join the points.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
symbol1 interpol=j value='square';

PROC GPLOT DATA = lead1;

footnote j=l 'curve'
	j=r 'MAT 4672 Lab 21';
plot iqf*fwtd / frame cframe=beige;;
RUN;
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Alternatively you can use the SGPLOT procedures which I find easier to navigate:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.stocks (where=(stock="IBM"));
scatter x=date y=open / markerattrs=(symbol='square' color='beige');
series x=date y=open / lineattrs=(color='beige');
run;quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 May 2016 02:39:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268432#M58087</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-05T02:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: PROC gplot</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268437#M58088</link>
      <description>&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3053i5AA7BB843C85AD2C/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="gplot2.png" title="gplot2.png" /&gt;&lt;/P&gt;&lt;P&gt;I believe x should be sorted&lt;/P&gt;&lt;P&gt;See attached file&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 02:46:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268437#M58088</guid>
      <dc:creator>bigban777</dc:creator>
      <dc:date>2016-05-05T02:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: PROC gplot</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268446#M58089</link>
      <description>&lt;P&gt;I don't download attachments.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Post your code/log if it doesn't work in the message, preferably in a code window.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 03:53:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268446#M58089</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-05T03:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: PROC gplot</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268461#M58090</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest 1) move over to sgplot and graph template language, you will find more options/better outputs and 2) check out Sanjay's blog:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Which has many thousands of examples on all kinds of graphs, you will find what you are looking for there.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 08:29:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268461#M58090</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-05-05T08:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROC gplot</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268580#M58101</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/71777"&gt;@bigban777&lt;/a&gt; wrote:&lt;BR /&gt;1)3 means squares instead just dots&lt;BR /&gt;2) i am expecting graph through all points(squares) and sorted by X axis like&lt;BR /&gt;&lt;A href="https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSnEg3_Ebu_DNwEWswUg8aygvFFBKT61C9alWAMhujgcFzPZOSC" target="_blank"&gt;https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSnEg3_Ebu_DNwEWswUg8aygvFFBKT61C9alWAMhujgcFzPZOSC&lt;/A&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;3 means to use Symbol3 statement for the display. Yours has some sort of interpolation option (INTERPOL= or I=)&amp;nbsp;other than JOIN to "fit" a curve through the data. I would guess either SM Spline or L.&lt;/P&gt;
&lt;P&gt;If you want to connect the points you need I=Join.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 15:33:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-gplot/m-p/268580#M58101</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-05-05T15:33:15Z</dc:date>
    </item>
  </channel>
</rss>

