<?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: SAS: How to plot Multiple X group (3 or more) using Stacked Bar in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SAS-How-to-plot-Multiple-X-group-3-or-more-using-Stacked-Bar/m-p/372940#M12893</link>
    <description>&lt;P&gt;Hi &lt;STRONG&gt;Damo,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the reference. I haven't use the &lt;FONT color="#0000ff"&gt;annotate&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When i posted my question i have seen the sample 45124. That sample has &lt;FONT color="#0000ff"&gt;2 groups&lt;/FONT&gt; in X-axis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And i can't find a solution to make it &lt;FONT color="#0000ff"&gt;3 groups or more&lt;/FONT&gt;. Could you help me on this portion?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="2x group.PNG" alt="2x group.PNG" src="https://communities.sas.com/t5/image/serverpage/image-id/10111i513E75F2C30A6D35/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to familiarize myself on annotate, but i only found that the annotate facility, replace the 1st X-group and hide the orig 1st X-group (generated by vbar).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;however,&amp;nbsp;i don't have an idea on how to make &lt;FONT color="#0000ff"&gt;2 x-group from annotate&lt;/FONT&gt; and &lt;FONT color="#0000ff"&gt;1x group from VBAR&lt;/FONT&gt; (group function).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using same data set from sample 45124, this x axis i would like to script. Is this possible in SAS ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(from JMP)&lt;/P&gt;
&lt;P&gt;&lt;IMG title="3 xgroup.jpg" alt="3 xgroup.jpg" src="https://communities.sas.com/t5/image/serverpage/image-id/10122i84A7215E6B8629F1/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Karem&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jul 2017 01:36:16 GMT</pubDate>
    <dc:creator>Karem</dc:creator>
    <dc:date>2017-07-05T01:36:16Z</dc:date>
    <item>
      <title>SAS: How to plot Multiple X group (3 or more) using Stacked Bar</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-How-to-plot-Multiple-X-group-3-or-more-using-Stacked-Bar/m-p/358902#M12495</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can SAS create multiple X group (3 or more) in a plot ? See image below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG width="598" height="371" title="multiX.PNG" alt="multiX.PNG" src="https://communities.sas.com/t5/image/serverpage/image-id/8902i49ECA4773F8346D9/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This grouping can be done in JMP's Graph Builder, i hope i can code the same in SAS (9.4m3 - windows7)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And i hope to futher improve the plot by adding Line on Right Axis (if possible).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 03:21:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-How-to-plot-Multiple-X-group-3-or-more-using-Stacked-Bar/m-p/358902#M12495</guid>
      <dc:creator>Karem</dc:creator>
      <dc:date>2017-05-16T03:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS: How to plot Multiple X group (3 or more) using Stacked Bar</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-How-to-plot-Multiple-X-group-3-or-more-using-Stacked-Bar/m-p/358996#M12498</link>
      <description>&lt;P&gt;Hi Karem,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you familiar with &lt;A href="http://support.sas.com/documentation/cdl/en/graphref/69717/HTML/default/viewer.htm#p1b1bzzuf7gdwxn1ebs5dyakg3ih.htm" target="_self"&gt;annotate&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;It seems to be the way to go according to those 2 samples:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;A href="http://support.sas.com/kb/45/124.html" target="_self"&gt;Sample 45124&lt;/A&gt;: Display multiple groups on the midpoint axis with PROC GCHART&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;A href="http://support.sas.com/kb/43/865.html" target="_self"&gt;Sample 43865&lt;/A&gt;: Connect midpoints across groups with PROC GCHART&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Damo&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 12:57:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-How-to-plot-Multiple-X-group-3-or-more-using-Stacked-Bar/m-p/358996#M12498</guid>
      <dc:creator>Damo</dc:creator>
      <dc:date>2017-05-16T12:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS: How to plot Multiple X group (3 or more) using Stacked Bar</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-How-to-plot-Multiple-X-group-3-or-more-using-Stacked-Bar/m-p/372940#M12893</link>
      <description>&lt;P&gt;Hi &lt;STRONG&gt;Damo,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the reference. I haven't use the &lt;FONT color="#0000ff"&gt;annotate&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When i posted my question i have seen the sample 45124. That sample has &lt;FONT color="#0000ff"&gt;2 groups&lt;/FONT&gt; in X-axis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And i can't find a solution to make it &lt;FONT color="#0000ff"&gt;3 groups or more&lt;/FONT&gt;. Could you help me on this portion?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="2x group.PNG" alt="2x group.PNG" src="https://communities.sas.com/t5/image/serverpage/image-id/10111i513E75F2C30A6D35/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to familiarize myself on annotate, but i only found that the annotate facility, replace the 1st X-group and hide the orig 1st X-group (generated by vbar).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;however,&amp;nbsp;i don't have an idea on how to make &lt;FONT color="#0000ff"&gt;2 x-group from annotate&lt;/FONT&gt; and &lt;FONT color="#0000ff"&gt;1x group from VBAR&lt;/FONT&gt; (group function).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using same data set from sample 45124, this x axis i would like to script. Is this possible in SAS ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(from JMP)&lt;/P&gt;
&lt;P&gt;&lt;IMG title="3 xgroup.jpg" alt="3 xgroup.jpg" src="https://communities.sas.com/t5/image/serverpage/image-id/10122i84A7215E6B8629F1/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Karem&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 01:36:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-How-to-plot-Multiple-X-group-3-or-more-using-Stacked-Bar/m-p/372940#M12893</guid>
      <dc:creator>Karem</dc:creator>
      <dc:date>2017-07-05T01:36:16Z</dc:date>
    </item>
  </channel>
</rss>

