<?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 Ordering of cells in Proc Sgpanel in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-of-cells-in-Proc-Sgpanel/m-p/91415#M3398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, In the output panel, I want the values of the variable 'Comp' displayed for each cell in the panel. But I want the cells to appear in order of the values of another variable 'Seq'. The dataset is ordered by Seq. I have used the following code but the cells I get are ordered by Comp. Please could you give any suggestions on how this could be implemented?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SGPANEL&amp;nbsp; DATA=all2 NOCYCLEATTRS NOAUTOLEGEND ;&lt;/P&gt;&lt;P&gt;PANELBY Comp /&amp;nbsp; ROWS = 2 COLUMNS = 3 NOVARNAME ONEPANEL UNISCALE=ALL&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCATTER X=Location_F Y=AdjLocation_H;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SERIES X=MinAxis Y=MaxAxis; RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;VD&lt;/P&gt;&lt;P&gt;(ps: the HTML editor here did not allow me to paste the code in color directly from the SAS editor).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2012 10:29:57 GMT</pubDate>
    <dc:creator>VD</dc:creator>
    <dc:date>2012-06-25T10:29:57Z</dc:date>
    <item>
      <title>Ordering of cells in Proc Sgpanel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-of-cells-in-Proc-Sgpanel/m-p/91415#M3398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, In the output panel, I want the values of the variable 'Comp' displayed for each cell in the panel. But I want the cells to appear in order of the values of another variable 'Seq'. The dataset is ordered by Seq. I have used the following code but the cells I get are ordered by Comp. Please could you give any suggestions on how this could be implemented?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SGPANEL&amp;nbsp; DATA=all2 NOCYCLEATTRS NOAUTOLEGEND ;&lt;/P&gt;&lt;P&gt;PANELBY Comp /&amp;nbsp; ROWS = 2 COLUMNS = 3 NOVARNAME ONEPANEL UNISCALE=ALL&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCATTER X=Location_F Y=AdjLocation_H;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SERIES X=MinAxis Y=MaxAxis; RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;VD&lt;/P&gt;&lt;P&gt;(ps: the HTML editor here did not allow me to paste the code in color directly from the SAS editor).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 10:29:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ordering-of-cells-in-Proc-Sgpanel/m-p/91415#M3398</guid>
      <dc:creator>VD</dc:creator>
      <dc:date>2012-06-25T10:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ordering of cells in Proc Sgpanel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-of-cells-in-Proc-Sgpanel/m-p/91416#M3399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SGPANEL automatically displays the cells in ascending order of the panel variable.&amp;nbsp; If your "Seq" variable has values in numeric order (just to be safe) and correctly aligned with "Comp", create a user defined format and assign each value in "Seq" the appropriate string from "Comp". Use "Seq" as the panel variable in PANELBY. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 12:48:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ordering-of-cells-in-Proc-Sgpanel/m-p/91416#M3399</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2012-06-25T12:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ordering of cells in Proc Sgpanel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Ordering-of-cells-in-Proc-Sgpanel/m-p/91417#M3400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sanjay,&lt;/P&gt;&lt;P&gt;Excellent - it worked!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;VD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 15:30:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Ordering-of-cells-in-Proc-Sgpanel/m-p/91417#M3400</guid>
      <dc:creator>VD</dc:creator>
      <dc:date>2012-06-26T15:30:51Z</dc:date>
    </item>
  </channel>
</rss>

