<?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: axis statement order by quarter? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52836#M14554</link>
    <description>Dear Scott Barry,&lt;BR /&gt;
&lt;BR /&gt;
that's exactly how I solved it in the meantime. Another solution is to just change the graph. I though about doing a proc gchart where I can define midpoints. As they are quarters that's easy, because they don't need too much space.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Eva</description>
    <pubDate>Fri, 10 Jul 2009 13:20:20 GMT</pubDate>
    <dc:creator>Eva</dc:creator>
    <dc:date>2009-07-10T13:20:20Z</dc:date>
    <item>
      <title>axis statement order by quarter?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52831#M14549</link>
      <description>Dear all,&lt;BR /&gt;
&lt;BR /&gt;
I have a prog gplot and on the haxis I want to display quarters of a year. On this axis I would like to have only the tick marks of the quarters, nothing else. &lt;BR /&gt;
&lt;BR /&gt;
I tried haxis=axis1;&lt;BR /&gt;
&lt;BR /&gt;
axis1 order=(200804 to 200902 by quarter);&lt;BR /&gt;
&lt;BR /&gt;
And as I have a look in the data I have 200804, 200901, 200902.&lt;BR /&gt;
&lt;BR /&gt;
But all I get is the tick mark 200902 and the hint that all other values are outside the axis range:&lt;BR /&gt;
8 observation(s) outside the axis range&lt;BR /&gt;
&lt;BR /&gt;
What's wrong here? Does the "by quarter" exist in sas?&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Eva</description>
      <pubDate>Thu, 09 Jul 2009 08:23:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52831#M14549</guid>
      <dc:creator>Eva</dc:creator>
      <dc:date>2009-07-09T08:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: axis statement order by quarter?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52832#M14550</link>
      <description>This isn't a direct answer to your question, but you can find examples of graphs that use the tick mark at &lt;A href="http://support.sas.com/sassamples/graphgallery/PROC_GPLOT_Graph_Elements_Axis.html" target="_blank"&gt;http://support.sas.com/sassamples/graphgallery/PROC_GPLOT_Graph_Elements_Axis.html&lt;/A&gt;.  Scroll through and choose the image closest to what you need.  Then select the &lt;B&gt;View Code&lt;/B&gt; link just above the image.</description>
      <pubDate>Thu, 09 Jul 2009 12:14:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52832#M14550</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-07-09T12:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: axis statement order by quarter?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52833#M14551</link>
      <description>indeed there is&lt;BR /&gt;
&lt;BR /&gt;
axis1 order=("&amp;amp;strtyr"d to "&amp;amp;Grfend"d by qtr);</description>
      <pubDate>Thu, 09 Jul 2009 12:49:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52833#M14551</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2009-07-09T12:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: axis statement order by quarter?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52834#M14552</link>
      <description>Dear Bill,&lt;BR /&gt;
&lt;BR /&gt;
I habe the quarters in the format 200804 (yyyyqq). So the "&amp;amp;myqtr"&lt;B&gt;d&lt;/B&gt; doesn't work. Unfortunately q instead of d doesn't work either &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Eva</description>
      <pubDate>Fri, 10 Jul 2009 06:53:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52834#M14552</guid>
      <dc:creator>Eva</dc:creator>
      <dc:date>2009-07-10T06:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: axis statement order by quarter?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52835#M14553</link>
      <description>Assign another SAS numeric variable and convert the character-format date string into another SAS variable using the INPUT function with the appropriate INFORMAT.  Another option is to generate a SAS macro variable with a discrete list of values using PROC SQL.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks,Inc.</description>
      <pubDate>Fri, 10 Jul 2009 13:06:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52835#M14553</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-07-10T13:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: axis statement order by quarter?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52836#M14554</link>
      <description>Dear Scott Barry,&lt;BR /&gt;
&lt;BR /&gt;
that's exactly how I solved it in the meantime. Another solution is to just change the graph. I though about doing a proc gchart where I can define midpoints. As they are quarters that's easy, because they don't need too much space.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Eva</description>
      <pubDate>Fri, 10 Jul 2009 13:20:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52836#M14554</guid>
      <dc:creator>Eva</dc:creator>
      <dc:date>2009-07-10T13:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: axis statement order by quarter?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52837#M14555</link>
      <description>Eva;&lt;BR /&gt;
&lt;BR /&gt;
The axis statement that I posted earlier (sorry that it was so terse) pre-supposes that the dates will be SAS date values (i.e. days since 01Jan1960).&lt;BR /&gt;
&lt;BR /&gt;
To force quarters to be the first day of the quarter, I often use the intnx function as follows:&lt;BR /&gt;
&lt;BR /&gt;
QtrDate=intnx("Quarter',ActualDateValue,0,'b');  This results in values like 01JanYY, 01AprYY,01JulYY,01OctYY when formatted as date5.  This date field will then plot very nicely with a qtr increment in the axis statement.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps,&lt;BR /&gt;
Bill</description>
      <pubDate>Fri, 10 Jul 2009 14:49:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52837#M14555</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2009-07-10T14:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: axis statement order by quarter?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52838#M14556</link>
      <description>Dear Bill,&lt;BR /&gt;
&lt;BR /&gt;
great idea - and it works well! Thanx for the advice!&lt;BR /&gt;
&lt;BR /&gt;
Best wishes&lt;BR /&gt;
Eva</description>
      <pubDate>Mon, 13 Jul 2009 11:06:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/axis-statement-order-by-quarter/m-p/52838#M14556</guid>
      <dc:creator>Eva</dc:creator>
      <dc:date>2009-07-13T11:06:36Z</dc:date>
    </item>
  </channel>
</rss>

