<?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: How to create below figure via GTL? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294446#M10367</link>
    <description>&lt;P&gt;Unfortunately, we do not have support for multi-header layouts at this time. However, your age group variable fall into a natural cluster grouping scenario. Have you tried putting "agegroup" as the group variable and "drug description" on the lattice?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;BR /&gt;Dan&lt;/P&gt;</description>
    <pubDate>Fri, 26 Aug 2016 15:56:35 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2016-08-26T15:56:35Z</dc:date>
    <item>
      <title>How to create below figure via GTL?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294348#M10359</link>
      <description>Please help me figure out how to create below figure via GTL, thanks. &lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12887i3B47C703142B866B/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="GraphQ.png" title="GraphQ.png" /&gt;</description>
      <pubDate>Fri, 26 Aug 2016 11:26:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294348#M10359</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2016-08-26T11:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create below figure via GTL?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294359#M10360</link>
      <description>&lt;P&gt;It looks like a multi-panel bargraph to me. &amp;nbsp;You will find examples on pretty much every graph over here including code:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/?s=panel" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/?s=panel&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 12:02:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294359#M10360</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-08-26T12:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to create below figure via GTL?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294372#M10361</link>
      <description>&lt;P&gt;What version of SAS?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 13:09:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294372#M10361</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-08-26T13:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create below figure via GTL?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294375#M10362</link>
      <description>Hi:&lt;BR /&gt;I'm not sure you need GTL, it looks like SGPANEL output to me. What code have you tried?&lt;BR /&gt;cynthia</description>
      <pubDate>Fri, 26 Aug 2016 13:23:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294375#M10362</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-08-26T13:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create below figure via GTL?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294416#M10363</link>
      <description>&lt;P&gt;If a may make a suggestion, try taking the variable you used for the panel row (agegroup ?) and make it the grouping variable for the bar chart. I think it would make your comparisons in the chart easier to read.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To accomplish this with PROC SGPANEL, you code will look something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgpanel data=outcome;&lt;/P&gt;
&lt;P&gt;panelby sequence treatment / layout=lattice onpanel novarname;&lt;/P&gt;
&lt;P&gt;vbar outcome / response=count group=agegroup groupdisplay=cluster; /* not sure of what stat you need */&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 15:06:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294416#M10363</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-08-26T15:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to create below figure via GTL?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294430#M10365</link>
      <description>&lt;P&gt;Thanks for your code. But I can only get below with each cell contains two formulation results. I know this is due to we use the Lattice alyout. What I am seeking is is there possibility to add two levels in the header and with each row for one age group? Just like my sample figure in the first post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&lt;IMG title="SGPanel2.png" alt="SGPanel2.png" src="https://communities.sas.com/t5/image/serverpage/image-id/4727iC032F00EFFDD058B/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 15:34:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294430#M10365</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2016-08-26T15:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to create below figure via GTL?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294446#M10367</link>
      <description>&lt;P&gt;Unfortunately, we do not have support for multi-header layouts at this time. However, your age group variable fall into a natural cluster grouping scenario. Have you tried putting "agegroup" as the group variable and "drug description" on the lattice?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 15:56:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294446#M10367</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-08-26T15:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create below figure via GTL?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294453#M10368</link>
      <description>&lt;P&gt;I have got your point. That is the one I am seeking.&lt;/P&gt;
&lt;P&gt;I think I can try merge the two headers into one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 16:10:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-create-below-figure-via-GTL/m-p/294453#M10368</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2016-08-26T16:10:00Z</dc:date>
    </item>
  </channel>
</rss>

