<?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 density &amp;amp; vbar in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/density-amp-vbar/m-p/271197#M9661</link>
    <description>&lt;P&gt;Hi i am trying to plot 2 graphs together.&lt;/P&gt;
&lt;P&gt;i have a density graph of a variable and a vbar chart of the default ratio, does anyone know how i can get them onto the same plot ?&lt;BR /&gt;I tried this :&lt;/P&gt;
&lt;P&gt;proc sgplot data=aa ;&lt;BR /&gt; &lt;BR /&gt; vbar rank / response=default stat = mean group=rank X2AXIS;&lt;BR /&gt; density Accr_good / type=kernel name='G' legendlabel='GOOD' ;&lt;BR /&gt; density Accr _bad / type=kernel name='B' legendlabel='BAD';&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; keylegend 'G' 'B' 'D' / location=inside position=topright across=1;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;but I get this error&lt;/P&gt;
&lt;P&gt;ERROR: Attempting to overlay incompatible plot or chart types.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;CL&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2016 07:18:19 GMT</pubDate>
    <dc:creator>clcl</dc:creator>
    <dc:date>2016-05-18T07:18:19Z</dc:date>
    <item>
      <title>density &amp; vbar</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/density-amp-vbar/m-p/271197#M9661</link>
      <description>&lt;P&gt;Hi i am trying to plot 2 graphs together.&lt;/P&gt;
&lt;P&gt;i have a density graph of a variable and a vbar chart of the default ratio, does anyone know how i can get them onto the same plot ?&lt;BR /&gt;I tried this :&lt;/P&gt;
&lt;P&gt;proc sgplot data=aa ;&lt;BR /&gt; &lt;BR /&gt; vbar rank / response=default stat = mean group=rank X2AXIS;&lt;BR /&gt; density Accr_good / type=kernel name='G' legendlabel='GOOD' ;&lt;BR /&gt; density Accr _bad / type=kernel name='B' legendlabel='BAD';&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; keylegend 'G' 'B' 'D' / location=inside position=topright across=1;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;but I get this error&lt;/P&gt;
&lt;P&gt;ERROR: Attempting to overlay incompatible plot or chart types.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;CL&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 07:18:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/density-amp-vbar/m-p/271197#M9661</guid>
      <dc:creator>clcl</dc:creator>
      <dc:date>2016-05-18T07:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: density &amp; vbar</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/density-amp-vbar/m-p/271213#M9662</link>
      <description>&lt;P&gt;Have a look at this page, has examples of the various graphs:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/grstatproc/62603/HTML/default/viewer.htm#sgplot-ov.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/grstatproc/62603/HTML/default/viewer.htm#sgplot-ov.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Fourth one down maybe?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, check out Sanjay's excellent blog:&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;For thousands of examples of all types.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 08:19:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/density-amp-vbar/m-p/271213#M9662</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-05-18T08:19:19Z</dc:date>
    </item>
  </channel>
</rss>

