<?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: Question on Series plot in SGPANEL in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Question-on-Series-plot-in-SGPANEL/m-p/98544#M3675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about adding /GROUP=year in the series statement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Sep 2013 16:53:40 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2013-09-30T16:53:40Z</dc:date>
    <item>
      <title>Question on Series plot in SGPANEL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Question-on-Series-plot-in-SGPANEL/m-p/98542#M3673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on ways to visualize series.&amp;nbsp; Using the SASHELP.STOCKS data set, I am trying to panel by year. However, in the code below, the SERIES statement is linking December with the following January. I can't figure out how to fix this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, I create a new data set that has "month" separated for each year and decade created as well&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;data stocks;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt; set sashelp.stocks;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt; year = year(date);&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt; month = mod(intck('MONTH', '01JAN1986'd, date), 12); &lt;/P&gt;&lt;P style="padding-left: 60px;"&gt; decade = floor(year/10);&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;run;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;Next, I run the plot&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;proc sgpanel data = stocks;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; panelby decade;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; where stock = "IBM";&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; series x = month y = close;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resulting in the attached plot &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 16:35:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Question-on-Series-plot-in-SGPANEL/m-p/98542#M3673</guid>
      <dc:creator>plf515</dc:creator>
      <dc:date>2013-09-30T16:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Series plot in SGPANEL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Question-on-Series-plot-in-SGPANEL/m-p/98543#M3674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try making year a group variable on the series statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 16:49:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Question-on-Series-plot-in-SGPANEL/m-p/98543#M3674</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-09-30T16:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Series plot in SGPANEL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Question-on-Series-plot-in-SGPANEL/m-p/98544#M3675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about adding /GROUP=year in the series statement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 16:53:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Question-on-Series-plot-in-SGPANEL/m-p/98544#M3675</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-09-30T16:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Series plot in SGPANEL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Question-on-Series-plot-in-SGPANEL/m-p/98545#M3676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 16:54:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Question-on-Series-plot-in-SGPANEL/m-p/98545#M3676</guid>
      <dc:creator>plf515</dc:creator>
      <dc:date>2013-09-30T16:54:32Z</dc:date>
    </item>
  </channel>
</rss>

