<?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: density curve in histogram not appearing in pdf file in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/density-curve-in-histogram-not-appearing-in-pdf-file/m-p/234057#M8477</link>
    <description>I'm using SAS 9.3 in my PC. I will try your suggestion. Thanks.</description>
    <pubDate>Tue, 10 Nov 2015 16:33:10 GMT</pubDate>
    <dc:creator>statz</dc:creator>
    <dc:date>2015-11-10T16:33:10Z</dc:date>
    <item>
      <title>density curve in histogram not appearing in pdf file</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/density-curve-in-histogram-not-appearing-in-pdf-file/m-p/233908#M8469</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to output a histogram &lt;U&gt;with the normal density curve&lt;/U&gt; and the qqplot for a given data. With the following code, I can output the histogram and qqplot, but the histogram does not have the normal density curve. The normal density curve is included if the output is in html, BUT if the output is in pdf, it is not included. Does anyone know what is missing in my code? Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%LET path1= C:\Desktop\output1.pdf;*/output;&lt;BR /&gt;ods pdf file="&amp;amp;path1" NOGFOOTNOTE STARTPAGE=yes pdftoc=2 contents=yes style=printer bookmarklist=hide ;&lt;BR /&gt;data new;&lt;BR /&gt;input y @@;&lt;BR /&gt;datalines;&lt;BR /&gt;23 34 &lt;BR /&gt;24 32 &lt;BR /&gt;23 32&lt;BR /&gt;22 23&lt;BR /&gt;24 34&lt;BR /&gt;25 45&lt;BR /&gt;26 12&lt;BR /&gt;27 23&lt;BR /&gt;28 25&lt;BR /&gt;23 27&lt;BR /&gt;24 23&lt;BR /&gt;24 24&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;ods select histogram qqplot ;&lt;BR /&gt;proc univariate data=new ;&lt;BR /&gt;histogram y/ grid normal( mu=est sigma=est color=red w=2.5) name='histogram' vscale=proportion;&lt;BR /&gt;qqplot y / normal( mu=est sigma=est color=red) name='qqplot' contents="" description="";&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;ods pdf close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#993300"&gt;By the way, I get this error:&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#993300"&gt;ERROR: Requested function is not supported.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993300"&gt;ERROR: Unable to process the graph.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 21:08:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/density-curve-in-histogram-not-appearing-in-pdf-file/m-p/233908#M8469</guid>
      <dc:creator>statz</dc:creator>
      <dc:date>2015-11-09T21:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: density curve in histogram not appearing in pdf file</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/density-curve-in-histogram-not-appearing-in-pdf-file/m-p/234029#M8473</link>
      <description>&lt;P&gt;How are you running this program? Enterprise Guide? SAS Studio? SAS on your local PC?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 15:19:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/density-curve-in-histogram-not-appearing-in-pdf-file/m-p/234029#M8473</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-11-10T15:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: density curve in histogram not appearing in pdf file</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/density-curve-in-histogram-not-appearing-in-pdf-file/m-p/234030#M8474</link>
      <description>&lt;P&gt;I'm not an expert on the PDF destination, but this works for me when I get rid of all your options and just use:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pdf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"&amp;amp;path1"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Do you get any errors if you delete the options? &lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;Also, what version of SAS?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%put&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; &amp;amp;SYSVLONG; &lt;/FONT&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;/* look in SAS log for answer */&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 15:24:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/density-curve-in-histogram-not-appearing-in-pdf-file/m-p/234030#M8474</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-11-10T15:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: density curve in histogram not appearing in pdf file</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/density-curve-in-histogram-not-appearing-in-pdf-file/m-p/234057#M8477</link>
      <description>I'm using SAS 9.3 in my PC. I will try your suggestion. Thanks.</description>
      <pubDate>Tue, 10 Nov 2015 16:33:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/density-curve-in-histogram-not-appearing-in-pdf-file/m-p/234057#M8477</guid>
      <dc:creator>statz</dc:creator>
      <dc:date>2015-11-10T16:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: density curve in histogram not appearing in pdf file</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/density-curve-in-histogram-not-appearing-in-pdf-file/m-p/234062#M8478</link>
      <description>&lt;P&gt;It worked. But I did not remove all options. I just removed the "style=printer" option. Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 16:43:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/density-curve-in-histogram-not-appearing-in-pdf-file/m-p/234062#M8478</guid>
      <dc:creator>statz</dc:creator>
      <dc:date>2015-11-10T16:43:59Z</dc:date>
    </item>
  </channel>
</rss>

