<?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: Curve Legend in PROC UNIVARIATE Histogram plot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Curve-Legend-in-PROC-UNIVARIATE-Histogram-plot/m-p/156610#M5857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to edit the Histogram template for the Univariate procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods trace on; &lt;/P&gt;&lt;P&gt;odsselect Histogram;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, run the Univariate step.&amp;nbsp; You will see the names of the template used for histogram along with the path to the template.&amp;nbsp;&amp;nbsp; It will be something like "&lt;STRONG&gt;base.univariate.Graphics.Histogram&lt;/STRONG&gt;" depending on the SAS release.&amp;nbsp; Open this template using the ODStemplate command.&amp;nbsp; Copy the template to a program editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure SASHELP.TMPLMST is Read only and not first in the ODS Path. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the editor, find the instances where the code "DiscreteLegend" is used.&amp;nbsp; Comment out this code, and then submit the template program. The template will now be compiled and saved to your SASUSER.TEMPLAT itemstore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rerun your Univariate step, and the legend should be gone.&amp;nbsp; The procedure will use the template from your sasuser first.&amp;nbsp; When you want to go back to the original, remove this template from sasuser.templat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Dec 2014 22:57:00 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2014-12-18T22:57:00Z</dc:date>
    <item>
      <title>Curve Legend in PROC UNIVARIATE Histogram plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Curve-Legend-in-PROC-UNIVARIATE-Histogram-plot/m-p/156609#M5856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am making comparative histogram plots in proc univariate with a normal curve.&amp;nbsp; When the plots are produced, they have a legend for the normal curve that says Curve --------- Normal (example image provided).&amp;nbsp; I do not want this legend to appear, but for some reason I cannot find the code that I need to suppress this.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11707iB2D2DE8243E39698/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Univariate Histogram.JPG" title="Univariate Histogram.JPG" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 19:39:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Curve-Legend-in-PROC-UNIVARIATE-Histogram-plot/m-p/156609#M5856</guid>
      <dc:creator>fastb</dc:creator>
      <dc:date>2014-12-18T19:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Curve Legend in PROC UNIVARIATE Histogram plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Curve-Legend-in-PROC-UNIVARIATE-Histogram-plot/m-p/156610#M5857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to edit the Histogram template for the Univariate procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods trace on; &lt;/P&gt;&lt;P&gt;odsselect Histogram;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, run the Univariate step.&amp;nbsp; You will see the names of the template used for histogram along with the path to the template.&amp;nbsp;&amp;nbsp; It will be something like "&lt;STRONG&gt;base.univariate.Graphics.Histogram&lt;/STRONG&gt;" depending on the SAS release.&amp;nbsp; Open this template using the ODStemplate command.&amp;nbsp; Copy the template to a program editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure SASHELP.TMPLMST is Read only and not first in the ODS Path. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the editor, find the instances where the code "DiscreteLegend" is used.&amp;nbsp; Comment out this code, and then submit the template program. The template will now be compiled and saved to your SASUSER.TEMPLAT itemstore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rerun your Univariate step, and the legend should be gone.&amp;nbsp; The procedure will use the template from your sasuser first.&amp;nbsp; When you want to go back to the original, remove this template from sasuser.templat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 22:57:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Curve-Legend-in-PROC-UNIVARIATE-Histogram-plot/m-p/156610#M5857</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2014-12-18T22:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Curve Legend in PROC UNIVARIATE Histogram plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Curve-Legend-in-PROC-UNIVARIATE-Histogram-plot/m-p/156611#M5858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The legend has now been successfully removed by customizing the template.&amp;nbsp; Thank you for your help with this Sanjay!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 13:29:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Curve-Legend-in-PROC-UNIVARIATE-Histogram-plot/m-p/156611#M5858</guid>
      <dc:creator>fastb</dc:creator>
      <dc:date>2014-12-19T13:29:10Z</dc:date>
    </item>
  </channel>
</rss>

