<?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: Does sgpanel produce separate legend? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Does-sgpanel-produce-separate-legend/m-p/372762#M12883</link>
    <description>&lt;P&gt;That is just an example of how you get separate legends. I have no idea of what you actually are plotting and what you want where.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jul 2017 15:16:14 GMT</pubDate>
    <dc:creator>collinelliot</dc:creator>
    <dc:date>2017-07-03T15:16:14Z</dc:date>
    <item>
      <title>Does sgpanel produce separate legend?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Does-sgpanel-produce-separate-legend/m-p/372734#M12879</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am creating a graph contains two series plot in the same page using sgpanel. &amp;nbsp;Need to get different legend for respective panel? &amp;nbsp;Currently I have only one legend summarizing both panel. &amp;nbsp;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 13:44:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Does-sgpanel-produce-separate-legend/m-p/372734#M12879</guid>
      <dc:creator>Ram_SAS</dc:creator>
      <dc:date>2017-07-03T13:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Does sgpanel produce separate legend?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Does-sgpanel-produce-separate-legend/m-p/372747#M12880</link>
      <description>&lt;P&gt;1. Use "noautolegend" in the sgpanel statement.&lt;/P&gt;
&lt;P&gt;2. Define your different legends using separate "keylegend" statements. The series that are defined in each legend are determined by assigning names to them in the different plot statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stupid example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc sgpanel data = sashelp.class noautolegend;
    panelby sex;
    scatter x = height y = weight / name = 'hw';
    scatter x = age y = weight / name = 'aw';
    keylegend 'hw' / position = top;
    keylegend 'aw' / position = bottom;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Jul 2017 14:30:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Does-sgpanel-produce-separate-legend/m-p/372747#M12880</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-07-03T14:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Does sgpanel produce separate legend?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Does-sgpanel-produce-separate-legend/m-p/372758#M12881</link>
      <description>&lt;P&gt;Thanks for your reply. &amp;nbsp;But what I need is the list of names (respective F and M ) below &amp;nbsp;each panel instead of weight as a legend. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgpanel data = sashelp.class noautolegend;&lt;BR /&gt;panelby sex;&lt;BR /&gt;scatter x = height y = weight / group=name name = 'hw';&lt;BR /&gt;keylegend 'hw' / position = top;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 15:10:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Does-sgpanel-produce-separate-legend/m-p/372758#M12881</guid>
      <dc:creator>Ram_SAS</dc:creator>
      <dc:date>2017-07-03T15:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Does sgpanel produce separate legend?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Does-sgpanel-produce-separate-legend/m-p/372762#M12883</link>
      <description>&lt;P&gt;That is just an example of how you get separate legends. I have no idea of what you actually are plotting and what you want where.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 15:16:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Does-sgpanel-produce-separate-legend/m-p/372762#M12883</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-07-03T15:16:14Z</dc:date>
    </item>
  </channel>
</rss>

