<?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 order= example in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-GPLOT-order-example/m-p/325160#M72291</link>
    <description>&lt;P&gt;Axis statements go after GOPTIONS, but before the proc. Define what 'not working' means please. Are you receiving an error?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI &amp;nbsp;- if you're just starting out and learning SAS Graph procedures I would highly recommend learning SGPLOT instead of GPLOT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You get better quality graphics, more control, options and the code is more intuitive. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2017 02:03:48 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-01-17T02:03:48Z</dc:date>
    <item>
      <title>PROC GPLOT order= example</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-GPLOT-order-example/m-p/325158#M72290</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to control the number distribution on the X-axis and Y-axis using a proc gplot procedure with an order = option.&amp;nbsp; The scattter plot works fine by itself, but I am not sure where to put the axis1 order=(50 to100 by 10); and axis2 order=(50 to 100 by 10); statements to have the both axis go from 50 to 100 by 10's. Does it go above the goptions line, or after it? Neither one worked&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;axis1&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;order&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=(&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; to &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;100&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; by &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;axis2&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;order&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=(&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;50&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; to &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;100&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; by &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;goptions&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;reset&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=all &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;cback&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=white &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;border&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;htitle&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;12&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;htext&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;10&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;symbol1&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;3&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=brown &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;value&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=star;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;symbol2&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;3&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=red &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;value&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=plus;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;symbol3&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;3&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=blue &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;value&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=dot;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;symbol4&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;3&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=green &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;value&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=@;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;symbol5&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;3&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=purple &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;value&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=%;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;symbol6&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;3&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=black &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;value&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=circle;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;title1&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;"Scatter Plot of PromiseRate and KeptRate"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;gplot&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=oneplace;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;by&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; agency;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;plot&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; promiserate*keptrate=tenure / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;haxis&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=axis1 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;vaxis&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=axis2 &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;legend&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=legend1;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;QUIT&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARNING: Legend statement 1 could not be found. The default legend description will be used.&lt;/P&gt;
&lt;P&gt;WARNING: AXIS statement 2 not found. The default axis description will be used.&lt;/P&gt;
&lt;P&gt;WARNING: AXIS statement 1 not found. The default axis description will be used.&lt;/P&gt;
&lt;P&gt;NOTE: 1 observation(s) contained a MISSING value for the PromiseRate * KeptRate = tenure request.&lt;/P&gt;
&lt;P&gt;NOTE: The above message was for the following BY group:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using SAS 9.4 enterprise guide 6.1 64 bit.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 01:18:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-GPLOT-order-example/m-p/325158#M72290</guid>
      <dc:creator>pangea17</dc:creator>
      <dc:date>2017-01-17T01:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GPLOT order= example</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-GPLOT-order-example/m-p/325160#M72291</link>
      <description>&lt;P&gt;Axis statements go after GOPTIONS, but before the proc. Define what 'not working' means please. Are you receiving an error?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI &amp;nbsp;- if you're just starting out and learning SAS Graph procedures I would highly recommend learning SGPLOT instead of GPLOT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You get better quality graphics, more control, options and the code is more intuitive. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 02:03:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-GPLOT-order-example/m-p/325160#M72291</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-17T02:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GPLOT order= example</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-GPLOT-order-example/m-p/325354#M72356</link>
      <description>It was not creating charts at all.  I moved the lines to after GOPTIONS and it worked perfectly.</description>
      <pubDate>Tue, 17 Jan 2017 17:16:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-GPLOT-order-example/m-p/325354#M72356</guid>
      <dc:creator>pangea17</dc:creator>
      <dc:date>2017-01-17T17:16:01Z</dc:date>
    </item>
  </channel>
</rss>

