<?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 sgplot - Easy way to format dates on xaxis to show only month, no year? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314743#M11060</link>
    <description>&lt;P&gt;Thanks, interesting idea. I was looking for a way to override the default format. I should have mentioned in the original post that I'm using SAS 9.3.&amp;nbsp; The valuesformat option is not listed for the xaxis statement in the SAS 9.3 ODS Graphics Procedures Guide (Second Edition). Is that available in SAS 9.4?&amp;nbsp;&amp;nbsp; I tried it anyway, and this was the log response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;627&amp;nbsp;&amp;nbsp;&amp;nbsp; xaxis label='Date' max = '01DEC2000'd valuesformat=mmddyy4.;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------------ --------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 79&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 76&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;WARNING 1-322: Assuming the symbol VALUES was misspelled as valuesformat.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ERROR 79-322: Expecting a (.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;628&amp;nbsp; run;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Nov 2016 06:22:39 GMT</pubDate>
    <dc:creator>scmeyer</dc:creator>
    <dc:date>2016-11-28T06:22:39Z</dc:date>
    <item>
      <title>Proc sgplot - Easy way to format dates on xaxis to show only month, no year?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314697#M11055</link>
      <description>&lt;P&gt;I'm overlaying cumulative distributions from multiple years in one plot, plotting the cumulative percentage by date. I had to convert all dates to the same year to get them to all plot on the same xaxis.&amp;nbsp; The xaxis tick marks are months, but SAS insists on showing the year on this axis. The date values are formatted as 'MMDDYY4.' but SAS overrides the formats and uses auto date formats.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to format the x axis to display only the month?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;proc sgplot data=CumulH;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;series x=dummydate y=cum_pct/group = year;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;xaxis label='Date' max = '01DEC2000'd;&lt;BR /&gt;run;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13190i5E6B04E14B9EBF56/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="CumulHplot.png" title="CumulHplot.png" /&gt;</description>
      <pubDate>Mon, 28 Nov 2016 01:52:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314697#M11055</guid>
      <dc:creator>scmeyer</dc:creator>
      <dc:date>2016-11-28T01:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sgplot - Easy way to format dates on xaxis to show only month, no year?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314701#M11056</link>
      <description>&lt;P&gt;Try using MONNAME3 format to show just the month?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 02:13:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314701#M11056</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-11-28T02:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sgplot - Easy way to format dates on xaxis to show only month, no year?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314709#M11057</link>
      <description>&lt;P&gt;Use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;xaxis label='Date' max = '01DEC2000'd valuesformat=mmddyy4.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to override the automatic date format.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 03:06:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314709#M11057</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-11-28T03:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sgplot - Easy way to format dates on xaxis to show only month, no year?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314740#M11059</link>
      <description>&lt;P&gt;Thanks, tried formatting dummydate as MONNAME3., and even though the data appear in that format in the data file the plot still ignores it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log shows:&lt;/P&gt;&lt;P&gt;NOTE: The column format MONNAME3 is replaced by an auto-generated format on the axis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should have mentioned in the original post that I am using SAS 9.3 TS 1M0.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 06:10:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314740#M11059</guid>
      <dc:creator>scmeyer</dc:creator>
      <dc:date>2016-11-28T06:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sgplot - Easy way to format dates on xaxis to show only month, no year?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314743#M11060</link>
      <description>&lt;P&gt;Thanks, interesting idea. I was looking for a way to override the default format. I should have mentioned in the original post that I'm using SAS 9.3.&amp;nbsp; The valuesformat option is not listed for the xaxis statement in the SAS 9.3 ODS Graphics Procedures Guide (Second Edition). Is that available in SAS 9.4?&amp;nbsp;&amp;nbsp; I tried it anyway, and this was the log response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;627&amp;nbsp;&amp;nbsp;&amp;nbsp; xaxis label='Date' max = '01DEC2000'd valuesformat=mmddyy4.;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------------ --------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 79&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 76&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;WARNING 1-322: Assuming the symbol VALUES was misspelled as valuesformat.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ERROR 79-322: Expecting a (.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;628&amp;nbsp; run;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 06:22:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314743#M11060</guid>
      <dc:creator>scmeyer</dc:creator>
      <dc:date>2016-11-28T06:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sgplot - Easy way to format dates on xaxis to show only month, no year?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314833#M11064</link>
      <description>&lt;P&gt;Since you have SAS 9.3, use TICKVALUEFORMAT instead of VALUESFORMAT. VALUESFORMAT is correct name of the option for SAS 9.4 and beyond, but TICKVALUEFORMAT will continue to work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 15:09:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314833#M11064</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-11-28T15:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sgplot - Easy way to format dates on xaxis to show only month, no year?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314907#M11065</link>
      <description>&lt;P&gt;Perfect, thanks! I don't know why I didn't see that sooner.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 17:52:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-Easy-way-to-format-dates-on-xaxis-to-show-only-month/m-p/314907#M11065</guid>
      <dc:creator>scmeyer</dc:creator>
      <dc:date>2016-11-28T17:52:36Z</dc:date>
    </item>
  </channel>
</rss>

