<?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: Change order of category in SGPANEL in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Change-order-of-category-in-SGPANEL/m-p/353039#M12248</link>
    <description>&lt;P&gt;On the colaxis, change the order they are displayed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/grstatproc/69716/HTML/default/p0vyc21mth0jrtn1c4jimudemip4.htm#p0sy4i2ek287q0n1w5ju0q8i37fr" target="_blank"&gt;REVERSE&lt;/A&gt;&lt;/P&gt;&lt;P class="xis-shortDescription"&gt;specifies that the tick values are displayed in reverse (descending) order.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Apr 2017 23:05:15 GMT</pubDate>
    <dc:creator>collinelliot</dc:creator>
    <dc:date>2017-04-24T23:05:15Z</dc:date>
    <item>
      <title>Change order of category in SGPANEL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Change-order-of-category-in-SGPANEL/m-p/353032#M12245</link>
      <description>&lt;P&gt;I am using PROC SGPANEL with a category of time, which is binary 1 (label=pre) or 2 (label=post) and while I plot the data Post comes before Pre in each of my panels. How can I switch this so that Pre comes before Post?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgpanel data=long;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;panelby group / layout=columnlattice onepanel noborder colheaderpos=bottom novarname;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;vbox score / category=time ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;colaxis display=(nolabel);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;rowaxis grid;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 22:40:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Change-order-of-category-in-SGPANEL/m-p/353032#M12245</guid>
      <dc:creator>Melk</dc:creator>
      <dc:date>2017-04-24T22:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Change order of category in SGPANEL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Change-order-of-category-in-SGPANEL/m-p/353038#M12247</link>
      <description>&lt;P&gt;If your Time variable has a format it may be using that to group the data by default.&lt;/P&gt;
&lt;P&gt;Sometimes providing a sorted data set to the procedure with the variable of interest in the order works.&lt;/P&gt;
&lt;P&gt;I would try&lt;/P&gt;
&lt;P&gt;proc sort data =long;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; by descending time;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;or possibly&lt;/P&gt;
&lt;P&gt;proc sort data =long;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; by group descending time;&lt;/P&gt;
&lt;P&gt;run&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that doesn't work&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 23:04:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Change-order-of-category-in-SGPANEL/m-p/353038#M12247</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-24T23:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change order of category in SGPANEL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Change-order-of-category-in-SGPANEL/m-p/353039#M12248</link>
      <description>&lt;P&gt;On the colaxis, change the order they are displayed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/grstatproc/69716/HTML/default/p0vyc21mth0jrtn1c4jimudemip4.htm#p0sy4i2ek287q0n1w5ju0q8i37fr" target="_blank"&gt;REVERSE&lt;/A&gt;&lt;/P&gt;&lt;P class="xis-shortDescription"&gt;specifies that the tick values are displayed in reverse (descending) order.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 23:05:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Change-order-of-category-in-SGPANEL/m-p/353039#M12248</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-04-24T23:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Change order of category in SGPANEL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Change-order-of-category-in-SGPANEL/m-p/353290#M12267</link>
      <description>&lt;P&gt;Thanks this worked!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 16:46:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Change-order-of-category-in-SGPANEL/m-p/353290#M12267</guid>
      <dc:creator>Melk</dc:creator>
      <dc:date>2017-04-25T16:46:26Z</dc:date>
    </item>
  </channel>
</rss>

