<?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 Legend in proc gplot: put group color bars next to label values in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Legend-in-proc-gplot-put-group-color-bars-next-to-label-values/m-p/174418#M6433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="img.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/5943_img.png" /&gt;&lt;/P&gt;&lt;P&gt;Please refer to the above image (i.e. the legend).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In proc gplot I have this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=mydata;&lt;/P&gt;&lt;P&gt;plot y*x=id / legend=legend1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in the output graph I have my plot and my legend below it. I want the red and blue bars to go right next to x and y, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="img2.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/5944_img2.png" /&gt;&lt;/P&gt;&lt;P&gt;Basically how do I go from the first image to the second? I'm thinking left-aligning the group values but I'm not sure how to do that in the legend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2014 19:38:55 GMT</pubDate>
    <dc:creator>elitebook</dc:creator>
    <dc:date>2014-04-09T19:38:55Z</dc:date>
    <item>
      <title>Legend in proc gplot: put group color bars next to label values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Legend-in-proc-gplot-put-group-color-bars-next-to-label-values/m-p/174418#M6433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="img.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/5943_img.png" /&gt;&lt;/P&gt;&lt;P&gt;Please refer to the above image (i.e. the legend).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In proc gplot I have this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gplot data=mydata;&lt;/P&gt;&lt;P&gt;plot y*x=id / legend=legend1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in the output graph I have my plot and my legend below it. I want the red and blue bars to go right next to x and y, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="img2.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/5944_img2.png" /&gt;&lt;/P&gt;&lt;P&gt;Basically how do I go from the first image to the second? I'm thinking left-aligning the group values but I'm not sure how to do that in the legend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 19:38:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Legend-in-proc-gplot-put-group-color-bars-next-to-label-values/m-p/174418#M6433</guid>
      <dc:creator>elitebook</dc:creator>
      <dc:date>2014-04-09T19:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Legend in proc gplot: put group color bars next to label values</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Legend-in-proc-gplot-put-group-color-bars-next-to-label-values/m-p/174419#M6434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would helpt to show 1) your curent legend1 statement and if possible what you want the whole graph to look like.&lt;/P&gt;&lt;P&gt;You may end up in the world of Annotate data depending on what you want.&lt;/P&gt;&lt;P&gt;I'm not quite understanding your overall question as pictures need pictures as a base. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 18:10:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Legend-in-proc-gplot-put-group-color-bars-next-to-label-values/m-p/174419#M6434</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-04-10T18:10:30Z</dc:date>
    </item>
  </channel>
</rss>

