<?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 axis monthly tick marks in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/gplot-axis-monthly-tick-marks/m-p/89951#M3321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... first, you cannot do this by month ... &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;axis1 order='01jan12'd to '31dec12'd by month;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since the end date does not allow an entire month interval and you will not get any dates in December other than 12/01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but you can do this ... &lt;STRONG style="font-family: 'courier new', courier;"&gt;axis1 order='01jan12'd to '01jan13'd by month;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second, I tried your code in both V9.1 and V9.3 and got the attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;they are both from V9.3 and they both worked better than what you are showing ... are you showing all the various options that are in place&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you try starting with GOPTIONS RESET=ALL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps I'm NOT using EG so I have no idea if that's the issue here&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11540iCD52001FE8E23553/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="use_31dec12.png" title="use_31dec12.png" /&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11541iFA96581B25A0D950/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="use_01jan13.png" title="use_01jan13.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2012 21:57:06 GMT</pubDate>
    <dc:creator>MikeZdeb</dc:creator>
    <dc:date>2012-04-19T21:57:06Z</dc:date>
    <item>
      <title>gplot axis monthly tick marks</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gplot-axis-monthly-tick-marks/m-p/89950#M3320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;running EG4.3 on SAS92 on Windows.&lt;/P&gt;&lt;P&gt;I want to create a gplot with months on the horizontal axis, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt;work.x;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #0000ff; font-family: 'Courier New'; font-size: 12pt;"&gt; do&lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt; date=&lt;/SPAN&gt;&lt;STRONG style="text-align: -webkit-auto; color: #008080; font-size: 12pt; font-family: 'Courier New';"&gt;'01jan12'd&lt;/STRONG&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="text-align: -webkit-auto; color: #0000ff; font-family: 'Courier New'; font-size: 12pt;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="text-align: -webkit-auto; color: #008080; font-size: 12pt; font-family: 'Courier New';"&gt;'31dec12'd&lt;/STRONG&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-size: 12pt; font-family: 'Courier New';"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-align: -webkit-auto; color: #008080; font-size: 12pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; actual=1000&lt;/STRONG&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #0000ff; font-family: 'Courier New'; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output&lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #0000ff; font-family: 'Courier New'; font-size: 12pt;"&gt; end&lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #0000ff; font-family: 'Courier New'; font-size: 12pt;"&gt; format&lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt; date &lt;/SPAN&gt;&lt;SPAN style="text-align: -webkit-auto; color: #008080; font-family: 'Courier New'; font-size: 12pt;"&gt;date9.&lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt;run&lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #0000ff; font-family: 'Courier New'; font-size: 12pt;"&gt;axis1 order&lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="text-align: -webkit-auto; color: #008080; font-size: 12pt; font-family: 'Courier New';"&gt;'01jan12'd&lt;/STRONG&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt; to &lt;/SPAN&gt;&lt;STRONG style="text-align: -webkit-auto; color: #008080; font-size: 12pt; font-family: 'Courier New';"&gt;'31dec12'd&lt;/STRONG&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt; by month;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-align: -webkit-auto; color: #000080; font-size: 12pt; font-family: 'Courier New';"&gt;proc gplot&lt;/STRONG&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="text-align: -webkit-auto; color: #0000ff; font-family: 'Courier New'; font-size: 12pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt;=work.x;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #0000ff; font-family: 'Courier New'; font-size: 12pt;"&gt; plot&lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt; actual*date / &lt;/SPAN&gt;&lt;SPAN style="text-align: -webkit-auto; color: #0000ff; font-family: 'Courier New'; font-size: 12pt;"&gt;haxis&lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt;=axis1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-align: -webkit-auto; color: #000080; font-size: 12pt; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;STRONG style="text-align: -webkit-auto; color: #000080; font-size: 12pt; font-family: 'Courier New';"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="color: #000000; text-align: -webkit-auto; font-family: 'Courier New'; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my graph looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot at 2012-04-19 23:30:26.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/1832_Screenshot at 2012-04-19 23:30:26.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;the horizontal axis is strange, what did I do wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks, Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 21:33:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gplot-axis-monthly-tick-marks/m-p/89950#M3320</guid>
      <dc:creator>bheinsius</dc:creator>
      <dc:date>2012-04-19T21:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: gplot axis monthly tick marks</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gplot-axis-monthly-tick-marks/m-p/89951#M3321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... first, you cannot do this by month ... &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;axis1 order='01jan12'd to '31dec12'd by month;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since the end date does not allow an entire month interval and you will not get any dates in December other than 12/01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but you can do this ... &lt;STRONG style="font-family: 'courier new', courier;"&gt;axis1 order='01jan12'd to '01jan13'd by month;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second, I tried your code in both V9.1 and V9.3 and got the attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;they are both from V9.3 and they both worked better than what you are showing ... are you showing all the various options that are in place&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you try starting with GOPTIONS RESET=ALL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps I'm NOT using EG so I have no idea if that's the issue here&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11540iCD52001FE8E23553/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="use_31dec12.png" title="use_31dec12.png" /&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11541iFA96581B25A0D950/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="use_01jan13.png" title="use_01jan13.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 21:57:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gplot-axis-monthly-tick-marks/m-p/89951#M3321</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-04-19T21:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: gplot axis monthly tick marks</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/gplot-axis-monthly-tick-marks/m-p/89952#M3322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;both your suggestions:&lt;/P&gt;&lt;P&gt;- to '01jan13'd&lt;/P&gt;&lt;P&gt;- goptions reset=all&lt;/P&gt;&lt;P&gt;solved the problem.&lt;/P&gt;&lt;P&gt;wrt 2, looks like eg sets some goptions that I'm not aware of.&lt;/P&gt;&lt;P&gt;thanks, Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 22:09:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/gplot-axis-monthly-tick-marks/m-p/89952#M3322</guid>
      <dc:creator>bheinsius</dc:creator>
      <dc:date>2012-04-19T22:09:14Z</dc:date>
    </item>
  </channel>
</rss>

