<?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: discontinued  horizontal axis in a line plot in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/discontinued-horizontal-axis-in-a-line-plot/m-p/46331#M6066</link>
    <description>It depends on the device driver you are using.&lt;BR /&gt;
[pre]&lt;BR /&gt;
data t;&lt;BR /&gt;
  do t=0 to 24*60*60 by 5*60;&lt;BR /&gt;
    if ("08:00"T &amp;lt;=t&amp;lt;= "08:20"T) or ("09:00"T &amp;lt;=t&amp;lt;= "10:00"T) or ("15:30"T &amp;lt;=t&amp;lt;= "16:10"T) then v=t;&lt;BR /&gt;
    else v=0;&lt;BR /&gt;
    output;&lt;BR /&gt;
  end;&lt;BR /&gt;
  format t time.;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
axis2 ORDER="08:00"T TO "08:20"T BY minute5,"09:00"T TO "10:00"T BY minute5,"15:30"T TO "16:10"T BY minute5 ;&lt;BR /&gt;
goption dev=win;&lt;BR /&gt;
proc gplot data=t;&lt;BR /&gt;
  plot v*t/haxis=axis2;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
This works fine with WIN, PNG or GIF drivers, but not with activex, which likes doing things its own way.&lt;BR /&gt;
&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: Chris@NewZealand&lt;BR /&gt;
&lt;BR /&gt;
Argh, &amp;lt; playing up again</description>
    <pubDate>Mon, 22 Jun 2009 01:05:16 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2009-06-22T01:05:16Z</dc:date>
    <item>
      <title>discontinued  horizontal axis in a line plot</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/discontinued-horizontal-axis-in-a-line-plot/m-p/46328#M6063</link>
      <description>hi friends,&lt;BR /&gt;
I have a dataset having data for whole day. i want to plot data time vs volumn&lt;BR /&gt;
now the problem is volumn are high only during few hours of day otherwise they are null,&lt;BR /&gt;
these volumn are high from 8:00 to 8:20,  from 9:30 to 10:00  and then 15:30 to 16:00 &lt;BR /&gt;
so i want to break x- axis and plot only during this periods. &lt;BR /&gt;
so i wrote &lt;BR /&gt;
axis2&lt;BR /&gt;
ORDER="08:00"T TO "08:20"T BY minute5,"09:00"T TO "10:00"T BY minute5,"15:30"T TO "16:10"T BY minute5 ;&lt;BR /&gt;
&lt;BR /&gt;
but i am not getting the required output. its show time for whole day evenly spaced.&lt;BR /&gt;
&lt;BR /&gt;
i am getting warning as&lt;BR /&gt;
&lt;BR /&gt;
WARNING: The intervals on the axis labeled ESTime are not evenly spaced.&lt;BR /&gt;
WARNING: No minor tick marks will be drawn because major tick increments have been specified in uneven or unordered intervals.&lt;BR /&gt;
&lt;BR /&gt;
any  solutions or suggestions?&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
Avi</description>
      <pubDate>Thu, 18 Jun 2009 06:34:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/discontinued-horizontal-axis-in-a-line-plot/m-p/46328#M6063</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-06-18T06:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: discontinued  horizontal axis in a line plot</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/discontinued-horizontal-axis-in-a-line-plot/m-p/46329#M6064</link>
      <description>Avi;&lt;BR /&gt;
&lt;BR /&gt;
I think your data might be better displayed with a vbar graph in proc gchart.  Bar graphs are better for detecting values, line graphs are better for detecting trends. I expect that gchart will provide the axis break more naturally.  Be sure to show a note somewhere indicating that null periods are not shown.&lt;BR /&gt;
&lt;BR /&gt;
wd</description>
      <pubDate>Thu, 18 Jun 2009 13:38:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/discontinued-horizontal-axis-in-a-line-plot/m-p/46329#M6064</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2009-06-18T13:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: discontinued  horizontal axis in a line plot</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/discontinued-horizontal-axis-in-a-line-plot/m-p/46330#M6065</link>
      <description>Thank you Bill for your suggestions.</description>
      <pubDate>Fri, 19 Jun 2009 04:18:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/discontinued-horizontal-axis-in-a-line-plot/m-p/46330#M6065</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-06-19T04:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: discontinued  horizontal axis in a line plot</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/discontinued-horizontal-axis-in-a-line-plot/m-p/46331#M6066</link>
      <description>It depends on the device driver you are using.&lt;BR /&gt;
[pre]&lt;BR /&gt;
data t;&lt;BR /&gt;
  do t=0 to 24*60*60 by 5*60;&lt;BR /&gt;
    if ("08:00"T &amp;lt;=t&amp;lt;= "08:20"T) or ("09:00"T &amp;lt;=t&amp;lt;= "10:00"T) or ("15:30"T &amp;lt;=t&amp;lt;= "16:10"T) then v=t;&lt;BR /&gt;
    else v=0;&lt;BR /&gt;
    output;&lt;BR /&gt;
  end;&lt;BR /&gt;
  format t time.;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
axis2 ORDER="08:00"T TO "08:20"T BY minute5,"09:00"T TO "10:00"T BY minute5,"15:30"T TO "16:10"T BY minute5 ;&lt;BR /&gt;
goption dev=win;&lt;BR /&gt;
proc gplot data=t;&lt;BR /&gt;
  plot v*t/haxis=axis2;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
This works fine with WIN, PNG or GIF drivers, but not with activex, which likes doing things its own way.&lt;BR /&gt;
&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: Chris@NewZealand&lt;BR /&gt;
&lt;BR /&gt;
Argh, &amp;lt; playing up again</description>
      <pubDate>Mon, 22 Jun 2009 01:05:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/discontinued-horizontal-axis-in-a-line-plot/m-p/46331#M6066</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2009-06-22T01:05:16Z</dc:date>
    </item>
  </channel>
</rss>

