<?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: SGPLOT formatting date variable on y-axis labels so year is not displayed in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392290#M13433</link>
    <description>&lt;P&gt;When I run your code the y-axis labels include the year. I just want the month.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2017 17:00:21 GMT</pubDate>
    <dc:creator>DuaneD</dc:creator>
    <dc:date>2017-08-31T17:00:21Z</dc:date>
    <item>
      <title>SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392216#M13417</link>
      <description>&lt;P&gt;Using SAS 9.3 TS Level 1M1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a vbox chart in sgplot where for each year I have a boxplot of the date of conception for a sample of animals. I have set the SAS date to the same year so that I can compare month/day&amp;nbsp;of conception across years. Therefore, I would only like to display day/month, or &amp;nbsp;just the month, on the y axis. Below is as close as I have come. You can see on the y-axis I display month, day, and year but I only want the month displayed (or day and month).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="graph.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14756iF3367F4DD0028FC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="graph.png" alt="graph.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code to generate the graph:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=one noautolegend;
 format conc mmddyy8.;
 vbox conc / category=year group=agename meanattrs=(symbol=square color=black) whiskerattrs=(color=black) outlierattrs=(color=black)
             ;
  yaxis label='Date of conception' interval=month 
        VALUES=("01AUG01"d "01SEP01"d "01OCT01"d "01NOV01"d "01DEC01"d "01Jan02"d "01FEB02"d "01MAR02"d)
      ;*  valuesdisplay=("Aug" "Sep" "Oct" "Nov" "Dec" "Jan" "Feb" "Mar");
		
  xaxis label='Year';
 run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that I have the "valuesdisplay" code commented out because I get an error message otherwise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;1208          valuesdisplay=("Aug" "Sep" "Oct" "Nov" "Dec" "Jan" "Feb" "Mar");
              -------------  -----
              1              22
                             76
WARNING 1-322: Assuming the symbol VALUES was misspelled as valuesdisplay.
ERROR 22-322: Syntax error, expecting one of the following: a numeric constant, a datetime constant, (.
ERROR 76-322: Syntax error, statement will be ignored.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is there a date format that will display only the month or month/day. Or is there some other trick with&amp;nbsp;sgplot to do what I want?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Duane&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:20:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392216#M13417</guid>
      <dc:creator>DuaneD</dc:creator>
      <dc:date>2017-08-31T14:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392231#M13420</link>
      <description>&lt;P&gt;Apply a different format and try removing the values portion entirely.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try MONYY7 instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why are you formatting conc with a date format? That doesn't make sense to me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:47:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392231#M13420</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-31T14:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392253#M13425</link>
      <description>&lt;P&gt;The variable 'conc' is the date of conception - that is what the box plot represents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The MONYY7. format still displays the year.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:39:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392253#M13425</guid>
      <dc:creator>DuaneD</dc:creator>
      <dc:date>2017-08-31T15:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392256#M13426</link>
      <description>&lt;P&gt;Without the data I can only make suggestions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Post your revised code.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:46:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392256#M13426</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-31T15:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392259#M13427</link>
      <description>FYI - this is another approach for visualizing this type of data: &lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2011/12/08/calendar-heatmaps-in-gtl/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/2011/12/08/calendar-heatmaps-in-gtl/&lt;/A&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:47:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392259#M13427</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-31T15:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392276#M13430</link>
      <description>&lt;P&gt;Here's some example data included with the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion about the heatmap but that is not what I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one;
 input year conc agename $;
 cards;
1999 15265 Subadult
1999 15281 Subadult
1999 15300 Subadult
1999 15290 Subadult
2000 15284 Subadult
2000 15300 Subadult
2000 15260 Subadult
1999 15279 Adult
1999 15279 Adult
1999 15279 Adult
1999 15290 Adult
1999 15300 Adult
1999 15320 Adult
1999 15260 Adult
1999 15265 Adult
1999 15265 Adult
1999 15279 Adult
2000 15260 Adult
2000 15250 Adult
2000 15300 Adult
2000 15310 Adult
2000 15280 Adult
2000 15280 Adult
2000 15280 Adult
;


proc sgplot data=one noautolegend;
 format conc monyy7.;
 vbox conc / category=year group=agename meanattrs=(symbol=square color=black) whiskerattrs=(color=black) outlierattrs=(color=black)
             ;
  yaxis label='Date of conception' interval=month 
        VALUES=("01AUG01"d "01SEP01"d "01OCT01"d "01NOV01"d "01DEC01"d "01Jan02"d "01FEB02"d "01MAR02"d)
        ;*valuesdisplay=("Aug" "Sep" "Oct" "Nov" "Dec" "Jan" "Feb" "Mar");
		
  xaxis label='Year';
 run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Aug 2017 16:25:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392276#M13430</guid>
      <dc:creator>DuaneD</dc:creator>
      <dc:date>2017-08-31T16:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392281#M13431</link>
      <description>&lt;P&gt;Removing the values statement and adding the formats worked fine for me.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title 'Demo Graph';
proc sgplot data=one noautolegend;
 format conc monyy7.;
 vbox conc / category=year group=agename meanattrs=(symbol=square color=black) whiskerattrs=(color=black) outlierattrs=(color=black)
             ;
  yaxis label='Date of conception' interval=month ;

  xaxis label='Year';
 run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Aug 2017 16:46:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392281#M13431</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-31T16:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392290#M13433</link>
      <description>&lt;P&gt;When I run your code the y-axis labels include the year. I just want the month.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 17:00:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392290#M13433</guid>
      <dc:creator>DuaneD</dc:creator>
      <dc:date>2017-08-31T17:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392298#M13435</link>
      <description>&lt;P&gt;The output I get is attached. Not sure why you're getting different output.&lt;/P&gt;
&lt;P&gt;Can you post what you get if you run the data you provided and my code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPlot15.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14763i52EF9831CC4DB0DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPlot15.png" alt="SGPlot15.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 17:12:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392298#M13435</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-31T17:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392300#M13436</link>
      <description>&lt;P&gt;I get the exact same output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the y-axis I DO NOT want the year displayed - I only want the month.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 17:18:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392300#M13436</guid>
      <dc:creator>DuaneD</dc:creator>
      <dc:date>2017-08-31T17:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392306#M13439</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/161860"&gt;@DuaneD&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I get the exact same output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the y-axis I DO NOT want the year displayed - I only want the month.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Try the format MONTH. to show 1 2 3 4 etc.&lt;/P&gt;
&lt;P&gt;MonName3. would show Jan Feb Mar&lt;/P&gt;
&lt;P&gt;MonName8. would show the whole month name: January February etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 17:50:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392306#M13439</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-31T17:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392320#M13441</link>
      <description>&lt;P&gt;Those don't seem to work. I get the following messages in the Log&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;2008  proc sgplot data=one noautolegend;
2009   format conc monName3.;
2010   vbox conc / category=year group=agename meanattrs=(symbol=square color=black) whiskerattrs=(color=black)
2010! outlierattrs=(color=black)
2011               ;
2012    yaxis label='Date of conception' ;
2013
2014    xaxis label='Year';
2015   run;

NOTE: Since no format is assigned, the numeric category variable will use the default of BEST6.
NOTE: PROCEDURE SGPLOT used (Total process time):
      real time           0.37 seconds
      cpu time            0.09 seconds

NOTE: The column format MONNAME3 is replaced by an auto-generated format on the axis.
NOTE: Listing image output written to SGPlot78.png.
NOTE: The column format MONNAME3 is replaced by an auto-generated format on the axis.
NOTE: There were 24 observations read from the data set WORK.ONE.

2016  proc sgplot data=one noautolegend;
2017   format conc month.;
2018   vbox conc / category=year group=agename meanattrs=(symbol=square color=black) whiskerattrs=(color=black)
2018! outlierattrs=(color=black)
2019               ;
2020    yaxis label='Date of conception' ;
2021
2022    xaxis label='Year';
2023   run;

NOTE: Since no format is assigned, the numeric category variable will use the default of BEST6.
NOTE: PROCEDURE SGPLOT used (Total process time):
      real time           0.35 seconds
      cpu time            0.12 seconds

NOTE: The column format MONTH2 is replaced by an auto-generated format on the axis.
NOTE: Listing image output written to SGPlot80.png.
NOTE: The column format MONTH2 is replaced by an auto-generated format on the axis.
NOTE: There were 24 observations read from the data set WORK.ONE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is the graph that I get&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPlot81.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14764i8B4AB85A2C3FAF68/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPlot81.png" alt="SGPlot81.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 18:34:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392320#M13441</guid>
      <dc:creator>DuaneD</dc:creator>
      <dc:date>2017-08-31T18:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392336#M13443</link>
      <description>&lt;P&gt;I suspect part of the reason with this, is the scale changes with the data so you can't really 'fix it', it's data dependent. If you did the idea of a box plot kind of goes away. I wonder if a clustered bar graph isn't more helpful here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regardless, I couldn't get it to work with the format approach, but I created a month variable and format and that seemed to work. I'm not sure you're going to get all months display.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one;
 input year conc agename $;
 month=month(conc);
 format conc monname.;
 cards;
1999 15265 Subadult
1999 15281 Subadult
1999 15300 Subadult
1999 15290 Subadult
2000 15284 Subadult
2000 15300 Subadult
2000 15260 Subadult
1999 15279 Adult
1999 15279 Adult
1999 15279 Adult
1999 15290 Adult
1999 15300 Adult
1999 15320 Adult
1999 15260 Adult
1999 15265 Adult
1999 15265 Adult
1999 15279 Adult
2000 15260 Adult
2000 15250 Adult
2000 15300 Adult
2000 15310 Adult
2000 15280 Adult
2000 15280 Adult
2000 15280 Adult
;

proc format;
value monvalue
1='January'
2='February'
3='March'
4='April'
5='May'
6='June'
7='July'
8='August'
9='September'
10='October'
11='November'
12='December'
;
run;


ods graphics/ device=jpg;
title 'Demo Graph';
proc sgplot data=one noautolegend;

 vbox month / category=year group=agename meanattrs=(symbol=square color=black) whiskerattrs=(color=black) outlierattrs=(color=black)
             ;
  yaxis label='Date of conception' interval=month ;
 format month monvalue. ;
  xaxis label='Year';
 run;
&lt;/CODE&gt;&lt;/PRE&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 19:25:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392336#M13443</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-31T19:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392368#M13444</link>
      <description>&lt;P&gt;Without any data it is kind of hard to test code&lt;/P&gt;
&lt;P&gt;you may want to try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token statement"&gt;yaxis&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;label&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'Date of conception'&lt;/SPAN&gt;&amp;nbsp; valuesformat=Month2.&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 20:41:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392368#M13444</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-31T20:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392524#M13451</link>
      <description>&lt;P&gt;In message 6 above I provided example code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interestingly, your suggestion does not work but you think it should. I get the following Log error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;2054  proc sgplot data=one noautolegend;
2055   format conc month.;
2056   vbox conc / category=year group=agename meanattrs=(symbol=square color=black) whiskerattrs=(color=black)
2056! outlierattrs=(color=black)
2057               ;
2058    yaxis label='Date of conception' valuesformat=Month2. ;
                                         ------------ -------
                                         1            79
                                                      76
WARNING 1-322: Assuming the symbol VALUES was misspelled as valuesformat.
ERROR 79-322: Expecting a (.
ERROR 76-322: Syntax error, statement will be ignored.
2059
2060    xaxis label='Year';
2061   run;

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SGPLOT used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Sep 2017 13:14:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392524#M13451</guid>
      <dc:creator>DuaneD</dc:creator>
      <dc:date>2017-09-01T13:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT formatting date variable on y-axis labels so year is not displayed</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392553#M13452</link>
      <description>ValuesFormat is a 9.4 feature, but you're still using SAS 9.3.</description>
      <pubDate>Fri, 01 Sep 2017 14:32:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT-formatting-date-variable-on-y-axis-labels-so-year-is-not/m-p/392553#M13452</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-01T14:32:34Z</dc:date>
    </item>
  </channel>
</rss>

