<?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 change legend values in PROC SGPLOT in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-legend-values-in-PROC-SGPLOT/m-p/457166#M15724</link>
    <description>&lt;P&gt;How about&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=test;&lt;BR /&gt; reg x=x y=y / clm="clm" legendlabel="legendlabel" ;&lt;BR /&gt;/* keylegend / noborder location=outside position=top;*/&lt;BR /&gt;run;&lt;/PRE&gt;</description>
    <pubDate>Wed, 25 Apr 2018 06:57:37 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2018-04-25T06:57:37Z</dc:date>
    <item>
      <title>How to change legend values in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-legend-values-in-PROC-SGPLOT/m-p/457150#M15723</link>
      <description>&lt;P&gt;Hi, All:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make a figure, which expresses linear regression analysis.&lt;/P&gt;&lt;P&gt;By submitting the following code, we can see one legend in the output, which includes "regression" &amp;amp; "95% confidence interval".&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
    input x y @@;
    datalines;
    10 10 4 5 2 5 2 4 8 4 9 6 7 6 5 2
    1 1 3 2 4 7 6 7 8 9 11 8 6 4
    ;
run;
proc sgplot data=test;
    reg x=x y=y / clm;
    keylegend / noborder location=outside position=top;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;By using LEGENDLABEL= option, I succeeded to change one value "regression" to "Mean predicted".&lt;/P&gt;&lt;P&gt;But I want to change both legend values ("regression" &amp;amp; "95% confidence interval").&lt;/P&gt;&lt;P&gt;Please give me some advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your kind cooperation.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 04:14:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-legend-values-in-PROC-SGPLOT/m-p/457150#M15723</guid>
      <dc:creator>KentaMURANAKA</dc:creator>
      <dc:date>2018-04-25T04:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to change legend values in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-legend-values-in-PROC-SGPLOT/m-p/457166#M15724</link>
      <description>&lt;P&gt;How about&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=test;&lt;BR /&gt; reg x=x y=y / clm="clm" legendlabel="legendlabel" ;&lt;BR /&gt;/* keylegend / noborder location=outside position=top;*/&lt;BR /&gt;run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Apr 2018 06:57:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-legend-values-in-PROC-SGPLOT/m-p/457166#M15724</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2018-04-25T06:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to change legend values in PROC SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-change-legend-values-in-PROC-SGPLOT/m-p/457171#M15725</link>
      <description>&lt;P&gt;Dear Bruno:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;I accomplished it!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 07:07:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-change-legend-values-in-PROC-SGPLOT/m-p/457171#M15725</guid>
      <dc:creator>KentaMURANAKA</dc:creator>
      <dc:date>2018-04-25T07:07:51Z</dc:date>
    </item>
  </channel>
</rss>

