<?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: One of my boxplot's in a side by side got switched :( in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/One-of-my-boxplot-s-in-a-side-by-side-got-switched/m-p/816709#M322393</link>
    <description>&lt;P&gt;On the PROC SGPLOT statement try using the GROUPORDER= option.&amp;nbsp; Values are&amp;nbsp; DATA, REVERSEDATA, ASCENDING, DESCENDING&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JOL_0-1654541158807.png" style="width: 334px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72022i6FB4D40FB1526348/image-dimensions/334x147?v=v2" width="334" height="147" role="button" title="JOL_0-1654541158807.png" alt="JOL_0-1654541158807.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jun 2022 18:46:27 GMT</pubDate>
    <dc:creator>JOL</dc:creator>
    <dc:date>2022-06-06T18:46:27Z</dc:date>
    <item>
      <title>One of my boxplot's in a side by side got switched :(</title>
      <link>https://communities.sas.com/t5/SAS-Programming/One-of-my-boxplot-s-in-a-side-by-side-got-switched/m-p/816689#M322379</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;Wondering if someone can assist me? One of my boxplot groups got switched (center one) and I'm unsure how to correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="agille05_0-1654537332677.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72016iE7D695C79DDED3A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="agille05_0-1654537332677.png" alt="agille05_0-1654537332677.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is my code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;Proc sgplot data=box dattrmap=myattrmap;
vbox age /category=cat group=gender nooutliers attrid=gen;
Where Gender in ("Male", "Female");
Keylegend / location=inside position=bottom;
Xaxis display=(nolabel);
Yaxis values=(2 to 20 by 4) minor display=(nolabel);
Run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 17:44:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/One-of-my-boxplot-s-in-a-side-by-side-got-switched/m-p/816689#M322379</guid>
      <dc:creator>agille05</dc:creator>
      <dc:date>2022-06-06T17:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: One of my boxplot's in a side by side got switched :(</title>
      <link>https://communities.sas.com/t5/SAS-Programming/One-of-my-boxplot-s-in-a-side-by-side-got-switched/m-p/816703#M322389</link>
      <description>&lt;P&gt;What order is the data in BOX?&amp;nbsp; Does it match the order you want or does it match the order you got?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 18:36:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/One-of-my-boxplot-s-in-a-side-by-side-got-switched/m-p/816703#M322389</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-06-06T18:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: One of my boxplot's in a side by side got switched :(</title>
      <link>https://communities.sas.com/t5/SAS-Programming/One-of-my-boxplot-s-in-a-side-by-side-got-switched/m-p/816709#M322393</link>
      <description>&lt;P&gt;On the PROC SGPLOT statement try using the GROUPORDER= option.&amp;nbsp; Values are&amp;nbsp; DATA, REVERSEDATA, ASCENDING, DESCENDING&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JOL_0-1654541158807.png" style="width: 334px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72022i6FB4D40FB1526348/image-dimensions/334x147?v=v2" width="334" height="147" role="button" title="JOL_0-1654541158807.png" alt="JOL_0-1654541158807.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 18:46:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/One-of-my-boxplot-s-in-a-side-by-side-got-switched/m-p/816709#M322393</guid>
      <dc:creator>JOL</dc:creator>
      <dc:date>2022-06-06T18:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: One of my boxplot's in a side by side got switched :(</title>
      <link>https://communities.sas.com/t5/SAS-Programming/One-of-my-boxplot-s-in-a-side-by-side-got-switched/m-p/816710#M322394</link>
      <description>&lt;P&gt;Try adding the Grouporder=Ascending (or Descending) to the VBOX statement. That should make the order of the group values consistent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/425008"&gt;@agille05&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi there!&lt;/P&gt;
&lt;P&gt;Wondering if someone can assist me? One of my boxplot groups got switched (center one) and I'm unsure how to correct.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="agille05_0-1654537332677.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72016iE7D695C79DDED3A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="agille05_0-1654537332677.png" alt="agille05_0-1654537332677.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is my code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;Proc sgplot data=box dattrmap=myattrmap;
vbox age /category=cat group=gender nooutliers attrid=gen;
Where Gender in ("Male", "Female");
Keylegend / location=inside position=bottom;
Xaxis display=(nolabel);
Yaxis values=(2 to 20 by 4) minor display=(nolabel);
Run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 18:47:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/One-of-my-boxplot-s-in-a-side-by-side-got-switched/m-p/816710#M322394</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-06-06T18:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: One of my boxplot's in a side by side got switched :(</title>
      <link>https://communities.sas.com/t5/SAS-Programming/One-of-my-boxplot-s-in-a-side-by-side-got-switched/m-p/816774#M322417</link>
      <description>&lt;P&gt;That worked! Thank you :). To the printer!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 21:51:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/One-of-my-boxplot-s-in-a-side-by-side-got-switched/m-p/816774#M322417</guid>
      <dc:creator>agille05</dc:creator>
      <dc:date>2022-06-06T21:51:20Z</dc:date>
    </item>
  </channel>
</rss>

