<?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: Specifying y axis Order From 5 to 50 by 5 in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Specifying-y-axis-Order-From-5-to-50-by-5/m-p/434516#M68899</link>
    <description>&lt;P&gt;Hi Damo&amp;nbsp;&lt;/P&gt;&lt;P&gt;I came to you again&lt;/P&gt;&lt;P&gt;I'm looking for code for this occasion&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;P = -(B+1)*LOG(C) which related to my previous code of the first post.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ibrahim&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2018 12:42:51 GMT</pubDate>
    <dc:creator>Barkamih</dc:creator>
    <dc:date>2018-02-06T12:42:51Z</dc:date>
    <item>
      <title>Specifying y axis Order From 5 to 50 by 5</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Specifying-y-axis-Order-From-5-to-50-by-5/m-p/432645#M68728</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc nlin data = new method = marquardt;
  parms A = 15 B = -0.19 C = 0.0012 ;
      by pr  ;
  model TEST_DAY_milk_kg = A * Time **b * exp(-C*Time);
  output out = Fit predicted = pred ;
  symbol1 interpol= join value = star color= black;
symbol2 interpol = none value = none color = red;
 run;
QUIT;
proc sort data=fit; by time;

proc gplot data=fit;
	plot pred*time TEST_DAY_milk_kg*time/overlay;
run;quit;
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hi guys&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to specify Y axis for this code, please let me know the right order to do in this case, and the best code to label Y with exact numbers.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ibrahim&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:28:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Specifying-y-axis-Order-From-5-to-50-by-5/m-p/432645#M68728</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2018-01-31T09:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying y axis Order From 5 to 50 by 5</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Specifying-y-axis-Order-From-5-to-50-by-5/m-p/432650#M68731</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/151600"&gt;@Barkamih&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may want to define your AXIS statement with the ORDER option, similar to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;axis1 order= (5 to 50 by 5);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you need to reference AXIS1 with your GPLOT procedure, similar to:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc gplot data=fit;
	plot pred*time TEST_DAY_milk_kg*time/overlay vaxis=axis1;
run;quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Using &lt;A href="http://go.documentation.sas.com/?docsetId=graphref&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=p0ll4no48qlunhn12vmemu8fthxf.htm&amp;amp;locale=fr" target="_self"&gt;Example 1: Generating a Simple Bubble Plot &lt;/A&gt;the updated code would be:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;goptions reset=all border;
data jobs;
   length eng $5;
   input eng dollars num;
   datalines;
Civil 27308 73273
Aero  29844 70192
Elec  22920 89382
Mech  32816 19601
Chem  28116 25541
Petro 18444 34833
;
title1 "Member Profile";
title2 "Salaries and Number of Member Engineers";
axis1 offset=(5,5);
&lt;STRONG&gt;axis2 order= (10000 to 40000 by 5000);&lt;/STRONG&gt;
proc gplot data=jobs;
   format dollars dollar9.;
   bubble dollars*eng=num / haxis=axis1 &lt;STRONG&gt;vaxis=axis2&lt;/STRONG&gt;;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Damo&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;</description>
      <pubDate>Wed, 31 Jan 2018 09:45:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Specifying-y-axis-Order-From-5-to-50-by-5/m-p/432650#M68731</guid>
      <dc:creator>Damo</dc:creator>
      <dc:date>2018-01-31T09:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying y axis Order From 5 to 50 by 5</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Specifying-y-axis-Order-From-5-to-50-by-5/m-p/432652#M68732</link>
      <description>&lt;P&gt;Thank so much Damo,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got it&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate that help, you saved my life, because I have met with my supervisor&amp;nbsp;after 20min&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ibrahim&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:53:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Specifying-y-axis-Order-From-5-to-50-by-5/m-p/432652#M68732</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2018-01-31T09:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying y axis Order From 5 to 50 by 5</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Specifying-y-axis-Order-From-5-to-50-by-5/m-p/432653#M68733</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/151600"&gt;@Barkamih&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great, I was only trying to help but if I saved your life it's even better&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;
&lt;P&gt;Have a nice day.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;Damo&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:55:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Specifying-y-axis-Order-From-5-to-50-by-5/m-p/432653#M68733</guid>
      <dc:creator>Damo</dc:creator>
      <dc:date>2018-01-31T09:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying y axis Order From 5 to 50 by 5</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Specifying-y-axis-Order-From-5-to-50-by-5/m-p/432654#M68734</link>
      <description>&lt;P&gt;Move to proc sgplot or template.&amp;nbsp; This will give you a vast array of options and control over what is an ancient graphing system (i.e. sgplot and gtl have been around for years now).&amp;nbsp; This website gives almost complete information on anything you would want to do graphing:&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;</description>
      <pubDate>Wed, 31 Jan 2018 10:05:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Specifying-y-axis-Order-From-5-to-50-by-5/m-p/432654#M68734</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-01-31T10:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying y axis Order From 5 to 50 by 5</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Specifying-y-axis-Order-From-5-to-50-by-5/m-p/434516#M68899</link>
      <description>&lt;P&gt;Hi Damo&amp;nbsp;&lt;/P&gt;&lt;P&gt;I came to you again&lt;/P&gt;&lt;P&gt;I'm looking for code for this occasion&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;P = -(B+1)*LOG(C) which related to my previous code of the first post.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ibrahim&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 12:42:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Specifying-y-axis-Order-From-5-to-50-by-5/m-p/434516#M68899</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2018-02-06T12:42:51Z</dc:date>
    </item>
  </channel>
</rss>

