<?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: Maximum number of ticks/months for PROC SGPLOT in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Maximum-number-of-ticks-months-for-PROC-SGPLOT/m-p/190191#M7035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way to do this is to put a WHERE clause on PROC SGPLOT with a macro variable for the date value. Then, compute the date value relative to the current date and set it on the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for tick value control, you can use the INTERVAL option on the SGPLOT axis statements to control the time interval displayed for the major tick marks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Dan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2015 14:51:37 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2015-01-20T14:51:37Z</dc:date>
    <item>
      <title>Maximum number of ticks/months for PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Maximum-number-of-ticks-months-for-PROC-SGPLOT/m-p/190190#M7034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Is there a way to limit the number of tick marks on the x axis on a PROC SGPLOT series graph?&amp;nbsp; My data is set up by month and I only want to show 18 months at a time (the most recent 18 months).&amp;nbsp; Is there a way to set this up so that each month, the oldest month rolls off?&amp;nbsp; Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 14:33:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Maximum-number-of-ticks-months-for-PROC-SGPLOT/m-p/190190#M7034</guid>
      <dc:creator>RobertHuey</dc:creator>
      <dc:date>2015-01-20T14:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum number of ticks/months for PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Maximum-number-of-ticks-months-for-PROC-SGPLOT/m-p/190191#M7035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way to do this is to put a WHERE clause on PROC SGPLOT with a macro variable for the date value. Then, compute the date value relative to the current date and set it on the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for tick value control, you can use the INTERVAL option on the SGPLOT axis statements to control the time interval displayed for the major tick marks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Dan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 14:51:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Maximum-number-of-ticks-months-for-PROC-SGPLOT/m-p/190191#M7035</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2015-01-20T14:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum number of ticks/months for PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Maximum-number-of-ticks-months-for-PROC-SGPLOT/m-p/190192#M7036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You can use the VALUES option in the XAXIS statement to control the tick marks on the x-axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your x-value is a date value then you can use something like this below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;XAXIS VALUES = ("25MAY08"d "04JUL08"d "23AUG08"d);&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above code will places tick marks at 25MAY08, 04JUL08, and 23AUG08. You can edit it to get what you want though, for example put the 18 months of your choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also use a where clause in your dataset to limit to observations to the last 18 months.&amp;nbsp; This can be done automatically using the &amp;amp;sysdate and also finding out the date of &amp;amp;sysdate - 18 months.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 14:58:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Maximum-number-of-ticks-months-for-PROC-SGPLOT/m-p/190192#M7036</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2015-01-20T14:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum number of ticks/months for PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Maximum-number-of-ticks-months-for-PROC-SGPLOT/m-p/190193#M7037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great.&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 16:13:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Maximum-number-of-ticks-months-for-PROC-SGPLOT/m-p/190193#M7037</guid>
      <dc:creator>RobertHuey</dc:creator>
      <dc:date>2015-01-20T16:13:35Z</dc:date>
    </item>
  </channel>
</rss>

