<?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 How to get rid of legend of reg fit plot using SAS 9.4 ODS graphics editor? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-rid-of-legend-of-reg-fit-plot-using-SAS-9-4-ODS/m-p/143823#M5439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I made a fit plot graph&amp;nbsp; with attached file using SAS 9.4, the program is below:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;ods &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;listing&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; sge = &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;on&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;reg&lt;/STRONG&gt; &lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;=baseline2;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;model &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;ba=bs;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="line-height: 115%; color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;I don't want legends especially 'observation, parameters, error DF, etc'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;I appreciate your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Xinjian&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Oct 2014 19:42:03 GMT</pubDate>
    <dc:creator>xinjian</dc:creator>
    <dc:date>2014-10-27T19:42:03Z</dc:date>
    <item>
      <title>How to get rid of legend of reg fit plot using SAS 9.4 ODS graphics editor?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-rid-of-legend-of-reg-fit-plot-using-SAS-9-4-ODS/m-p/143823#M5439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I made a fit plot graph&amp;nbsp; with attached file using SAS 9.4, the program is below:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;ods &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;listing&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt; sge = &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;on&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;reg&lt;/STRONG&gt; &lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;=baseline2;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New'; font-size: 10pt;"&gt;model &lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;ba=bs;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="line-height: 115%; color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;I don't want legends especially 'observation, parameters, error DF, etc'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;I appreciate your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Xinjian&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 19:42:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-rid-of-legend-of-reg-fit-plot-using-SAS-9-4-ODS/m-p/143823#M5439</guid>
      <dc:creator>xinjian</dc:creator>
      <dc:date>2014-10-27T19:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of legend of reg fit plot using SAS 9.4 ODS graphics editor?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-rid-of-legend-of-reg-fit-plot-using-SAS-9-4-ODS/m-p/143824#M5440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no way to remove a Legend or the Statistics table from a graph using the ODS Graphics Editor.&amp;nbsp; However, you could use the following code to get the data from proc REG and plot it using SGPLOT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods output fitplot=fitdata;&lt;/P&gt;&lt;P&gt;proc reg data=sashelp.class;&lt;/P&gt;&lt;P&gt;model weight=height;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=fitdata out=sorted;&lt;/P&gt;&lt;P&gt;by _indepvar1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics / reset width=6in height=4in imagename='ClassWeightbyHeightFitPlot';&lt;/P&gt;&lt;P&gt;proc sgplot data=sorted nocycleattrs noautolegend;&lt;/P&gt;&lt;P&gt;&amp;nbsp; band x=_indepvar1 upper=uppercl lower=lowercl / nofill lineattrs=(pattern=dash);&lt;/P&gt;&lt;P&gt;&amp;nbsp; band x=_indepvar1 upper=upperclmean lower=lowerclmean;&lt;/P&gt;&lt;P&gt;&amp;nbsp; reg x=_indepvar1 y=predictedvalue / nomarkers;&lt;/P&gt;&lt;P&gt;&amp;nbsp; scatter x=_indepvar1 y=depvar;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a simple fit plot, it would be even easier to just use the REG statement inside proc SGPLOT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics / reset width=6in height=4in imagename='ClassFitPlot';&lt;/P&gt;&lt;P&gt;proc sgplot data=sashelp.class nocycleattrs noautolegend;&lt;/P&gt;&lt;P&gt;&amp;nbsp; reg x=height y=weight / cli clm;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 21:33:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-rid-of-legend-of-reg-fit-plot-using-SAS-9-4-ODS/m-p/143824#M5440</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2014-10-29T21:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of legend of reg fit plot using SAS 9.4 ODS graphics editor?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-get-rid-of-legend-of-reg-fit-plot-using-SAS-9-4-ODS/m-p/143825#M5441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is good to know ods graphic editor cannot change legend. I tried your way to get job done. Thanks so much for your effort.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 01:54:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-get-rid-of-legend-of-reg-fit-plot-using-SAS-9-4-ODS/m-p/143825#M5441</guid>
      <dc:creator>xinjian</dc:creator>
      <dc:date>2014-10-30T01:54:07Z</dc:date>
    </item>
  </channel>
</rss>

