<?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: plot dates Not in time-series in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/plot-dates-Not-in-time-series/m-p/59278#M6049</link>
    <description>To convert a date data type to a character variable that has 'sortable' characteristics, use one of the year-month-day types, like&lt;BR /&gt;
&lt;BR /&gt;
PUT(MyDateVar, yymmdd10.)&lt;BR /&gt;
&lt;BR /&gt;
in the expression builder to create a text version on the original date.&lt;BR /&gt;
&lt;BR /&gt;
Presenting a naturally scaled variable as ordinal may distort the relationship in the variables.  Caveat emptor.</description>
    <pubDate>Mon, 03 Nov 2008 21:11:13 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2008-11-03T21:11:13Z</dc:date>
    <item>
      <title>plot dates Not in time-series</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/plot-dates-Not-in-time-series/m-p/59277#M6048</link>
      <description>I previously posted this question on the Procedures forum, but I think maybe it actually belongs here since this is being done in EG.  &lt;BR /&gt;
&lt;BR /&gt;
Is it possible in PROC GPLOT to plot dates along the x-axis as categorical variables instead of time-series? &lt;BR /&gt;
&lt;BR /&gt;
My problem is that if I have 10 datapoints total that are being plotted and 6 points are in january '06 and my next 4 datapoints are in November '08 I'm getting a long straight line from the last datapoint in January until my first data point in November. I would like for this to plot the 10 points equidistant from each other instead of putting the time gap in between them.&lt;BR /&gt;
&lt;BR /&gt;
If I use the bar-line chart and specify to use "one bar for each unique data value" it will plot like mentioned above, but I need to be able to plot multiple lines like this.  I've got to believe this is possible in SAS, maybe here I would need to convert the dates to text???&lt;BR /&gt;
&lt;BR /&gt;
Thanks for any help,&lt;BR /&gt;
Brad</description>
      <pubDate>Mon, 03 Nov 2008 19:16:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/plot-dates-Not-in-time-series/m-p/59277#M6048</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-11-03T19:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: plot dates Not in time-series</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/plot-dates-Not-in-time-series/m-p/59278#M6049</link>
      <description>To convert a date data type to a character variable that has 'sortable' characteristics, use one of the year-month-day types, like&lt;BR /&gt;
&lt;BR /&gt;
PUT(MyDateVar, yymmdd10.)&lt;BR /&gt;
&lt;BR /&gt;
in the expression builder to create a text version on the original date.&lt;BR /&gt;
&lt;BR /&gt;
Presenting a naturally scaled variable as ordinal may distort the relationship in the variables.  Caveat emptor.</description>
      <pubDate>Mon, 03 Nov 2008 21:11:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/plot-dates-Not-in-time-series/m-p/59278#M6049</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2008-11-03T21:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: plot dates Not in time-series</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/plot-dates-Not-in-time-series/m-p/59279#M6050</link>
      <description>That works for what I'm trying to do.  Thanks.</description>
      <pubDate>Tue, 04 Nov 2008 19:35:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/plot-dates-Not-in-time-series/m-p/59279#M6050</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-11-04T19:35:29Z</dc:date>
    </item>
  </channel>
</rss>

