<?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: Gplot order=(0 to ? by ?) in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-order-0-to-by/m-p/30960#M952</link>
    <description>gets a little more sophisticated (ceil(), log) to pick a suitable multiple rounded above the max&lt;BR /&gt;
proc sql noprint ; **** getting max number of members and time ;&lt;BR /&gt;
   select max(members) format= 8., max( time ) format= 8.&lt;BR /&gt;
     into :max_Members, :max_time&lt;BR /&gt;
     from &amp;amp;syslast ;&lt;BR /&gt;
quit ;&lt;BR /&gt;
******now convert to next log-base10 interval, and next 10 time-axis-inteval ;&lt;BR /&gt;
%let max_time_ax = %sysfunc( ceil( &amp;amp;max_time /10))0;&lt;BR /&gt;
%let max_mems_10 = %sysfunc( length( &amp;amp;max_members ) ) ;&lt;BR /&gt;
&lt;BR /&gt;
the members axis was to be logbase=10</description>
    <pubDate>Wed, 16 Dec 2009 15:11:48 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2009-12-16T15:11:48Z</dc:date>
    <item>
      <title>Gplot order=(0 to ? by ?)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-order-0-to-by/m-p/30956#M948</link>
      <description>1) How do I specify that the y-axis always starts at 0 where SAS chooses the max and interval for the order function.&lt;BR /&gt;
&lt;BR /&gt;
2) Is it possible to specify that the y-axis starts at 0 and specify the interval and let SAS choose the max for the order function?&lt;BR /&gt;
&lt;BR /&gt;
If the order function does not permit this is there another function that does allow me to do this?&lt;BR /&gt;
Thank you.</description>
      <pubDate>Wed, 16 Dec 2009 01:01:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-order-0-to-by/m-p/30956#M948</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-12-16T01:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Gplot order=(0 to ? by ?)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-order-0-to-by/m-p/30957#M949</link>
      <description>If you have SAS 9.2, you can make this specification easily using PROC SGPLOT. To make the axis start at 0 and let the procedure determine the max and intervals, just specify MIN on the proc's axis statement:&lt;BR /&gt;
&lt;BR /&gt;
proc sgplot data=sashelp.class;&lt;BR /&gt;
yaxis min=0;&lt;BR /&gt;
scatter x=weight y=height;&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 16 Dec 2009 03:06:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-order-0-to-by/m-p/30957#M949</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2009-12-16T03:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Gplot order=(0 to ? by ?)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-order-0-to-by/m-p/30958#M950</link>
      <description>Since you were specifically asking about gplot, here's how to do &lt;B&gt;#1&lt;/B&gt; in gplot:&lt;BR /&gt;
&lt;BR /&gt;
proc gplot data=sashelp.class;&lt;BR /&gt;
plot height*weight / vzero;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Per #2,&lt;/B&gt; I don't know of a way to do that.  There is a request for this feature in the defects/request system, and it might help bump up the priority of adding that feature if customers call Tech Support showing their interest, and providing specific examples of the things they'd like to be able to do with this feature.  Here is the defect/request number to refer to:&lt;BR /&gt;
&lt;BR /&gt;
S0134846:  PROVIDE THE ABILITY TO SPECIFY JUST START, END, OR INCREMENT ON AXIS ORDER=</description>
      <pubDate>Wed, 16 Dec 2009 13:08:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-order-0-to-by/m-p/30958#M950</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2009-12-16T13:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Gplot order=(0 to ? by ?)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-order-0-to-by/m-p/30959#M951</link>
      <description>I assumed everyone, just used proc sql to select the max into a macro var, to use in the order list</description>
      <pubDate>Wed, 16 Dec 2009 15:04:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-order-0-to-by/m-p/30959#M951</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-12-16T15:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Gplot order=(0 to ? by ?)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-order-0-to-by/m-p/30960#M952</link>
      <description>gets a little more sophisticated (ceil(), log) to pick a suitable multiple rounded above the max&lt;BR /&gt;
proc sql noprint ; **** getting max number of members and time ;&lt;BR /&gt;
   select max(members) format= 8., max( time ) format= 8.&lt;BR /&gt;
     into :max_Members, :max_time&lt;BR /&gt;
     from &amp;amp;syslast ;&lt;BR /&gt;
quit ;&lt;BR /&gt;
******now convert to next log-base10 interval, and next 10 time-axis-inteval ;&lt;BR /&gt;
%let max_time_ax = %sysfunc( ceil( &amp;amp;max_time /10))0;&lt;BR /&gt;
%let max_mems_10 = %sysfunc( length( &amp;amp;max_members ) ) ;&lt;BR /&gt;
&lt;BR /&gt;
the members axis was to be logbase=10</description>
      <pubDate>Wed, 16 Dec 2009 15:11:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-order-0-to-by/m-p/30960#M952</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-12-16T15:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Gplot order=(0 to ? by ?)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-order-0-to-by/m-p/30961#M953</link>
      <description>Thank you.&lt;BR /&gt;
vzero worked well.</description>
      <pubDate>Wed, 16 Dec 2009 23:39:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-order-0-to-by/m-p/30961#M953</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-12-16T23:39:33Z</dc:date>
    </item>
  </channel>
</rss>

