<?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: side by side grouped bar graph in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/side-by-side-grouped-bar-graph/m-p/155305#M40784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; What code are you using? SAS/GRAPH and PROC GCHART or ODS GRAPHICS and PROC SGPLOT or???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; What is your destination of interest? HTML, RTF, PDF?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Aug 2014 03:48:38 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2014-08-10T03:48:38Z</dc:date>
    <item>
      <title>side by side grouped bar graph</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/side-by-side-grouped-bar-graph/m-p/155304#M40783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble making a side by side verticle bar graph and I am wondering if my data are sorted poorly.&lt;/P&gt;&lt;P&gt;My data&amp;nbsp; are in the attached files which have not been working out.&lt;/P&gt;&lt;P&gt;I would like the figure to look like the attachment titled "capture"&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10909i61C8D064FDD16F04/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture.JPG" title="Capture.JPG" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Aug 2014 20:03:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/side-by-side-grouped-bar-graph/m-p/155304#M40783</guid>
      <dc:creator>sesser</dc:creator>
      <dc:date>2014-08-09T20:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: side by side grouped bar graph</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/side-by-side-grouped-bar-graph/m-p/155305#M40784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; What code are you using? SAS/GRAPH and PROC GCHART or ODS GRAPHICS and PROC SGPLOT or???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; What is your destination of interest? HTML, RTF, PDF?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Aug 2014 03:48:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/side-by-side-grouped-bar-graph/m-p/155305#M40784</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-08-10T03:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: side by side grouped bar graph</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/side-by-side-grouped-bar-graph/m-p/155306#M40785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A smaller sample data with just what you need would be easier to work with.&amp;nbsp; If you have SAS 9.3 or higher, you can use the following SGPLOT example.&amp;nbsp; Substitute the appropriate data set, category, group and response variables.&amp;nbsp; "Cluster" is a keyword you must use.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=sashelp.cars;&lt;/P&gt;&lt;P&gt; vbar origin/ response=mpg_city group=type groupdisplay=cluster;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 12:43:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/side-by-side-grouped-bar-graph/m-p/155306#M40785</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2014-08-11T12:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: side by side grouped bar graph</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/side-by-side-grouped-bar-graph/m-p/155307#M40786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code I have been using with no luck is very similar to sanjay's response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data y72 y13; set nototals&lt;/P&gt;&lt;P&gt;year=72; totalseed=Dc1_1972; output y72;&lt;/P&gt;&lt;P&gt;year13; totalseed=Dc1_2013, ouput y13;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc sgplot;&lt;/P&gt;&lt;P&gt;vbar year / group=year groupdisplay=cluster response=totalseed;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this just gets the one group (Dc1) garphed when I want DC1, DC2 and DC3 all on the same graph&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 13:32:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/side-by-side-grouped-bar-graph/m-p/155307#M40786</guid>
      <dc:creator>sesser</dc:creator>
      <dc:date>2014-08-11T13:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: side by side grouped bar graph</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/side-by-side-grouped-bar-graph/m-p/155308#M40787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First - You are using the same variable (year) for both category and group. There is no distinct GROUP variable.&amp;nbsp; Second, the graph will depend on your data.&amp;nbsp; You need a column with DC1, DC2, etc. as values in the column, and this column should be provided as the GROUP role in the statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 14:19:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/side-by-side-grouped-bar-graph/m-p/155308#M40787</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2014-08-11T14:19:57Z</dc:date>
    </item>
  </channel>
</rss>

