<?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 How I can change order of variables in my gplot proc? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-I-can-change-order-of-variables-in-my-gplot-proc/m-p/267022#M52716</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i try to change order of variables in my graph. So, i use following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PROC GPLOT DATA = smoke3;
title 'CURVE';
plot fef*amt=1;
axis2 order=("PS" "NS" "NI" "MS" "LS" "HS" );
RUN;
QUIT;&lt;/PRE&gt;&lt;P&gt;But i got that:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2962i5CF8C79052B19510/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="gplot1.png" title="gplot1.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, my question how i can change order of variables on axis X?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2016 16:10:42 GMT</pubDate>
    <dc:creator>bigban777</dc:creator>
    <dc:date>2016-04-28T16:10:42Z</dc:date>
    <item>
      <title>How I can change order of variables in my gplot proc?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-I-can-change-order-of-variables-in-my-gplot-proc/m-p/267022#M52716</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i try to change order of variables in my graph. So, i use following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PROC GPLOT DATA = smoke3;
title 'CURVE';
plot fef*amt=1;
axis2 order=("PS" "NS" "NI" "MS" "LS" "HS" );
RUN;
QUIT;&lt;/PRE&gt;&lt;P&gt;But i got that:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2962i5CF8C79052B19510/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="gplot1.png" title="gplot1.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, my question how i can change order of variables on axis X?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 16:10:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-I-can-change-order-of-variables-in-my-gplot-proc/m-p/267022#M52716</guid>
      <dc:creator>bigban777</dc:creator>
      <dc:date>2016-04-28T16:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: How I can change order of variables in my gplot proc?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-I-can-change-order-of-variables-in-my-gplot-proc/m-p/267033#M52721</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;axis2 order=("PS" "NS" "NI" "MS" "LS" "HS" );

PROC GPLOT DATA = smoke3;
   title 'CURVE';
   plot fef*amt=1/ haxis=axis2;
RUN;
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You need the HAXIS instruction to tell SAS which axis to apply the axis definition to.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also with GPLOT the values in the list need to be the UNFORMATTED values.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 16:34:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-I-can-change-order-of-variables-in-my-gplot-proc/m-p/267033#M52721</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-04-28T16:34:26Z</dc:date>
    </item>
  </channel>
</rss>

