<?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 make a histogram on SAS University without getting errors in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/how-to-make-a-histogram-on-SAS-University-without-getting-errors/m-p/432987#M14952</link>
    <description>&lt;P&gt;I appears that ODS Graphics is somehow turn off in your case. Also, use PROC SGPLOT instead of PROC CHART. Try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on;

Proc Reg;
Model quality=time;
plot quality*time='*';
plot R.*P.='?';
plot R.*time='@';
output out=error R=resid;
Run;

Proc sgplot data=error;
vbar resid;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2018 03:45:19 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2018-02-01T03:45:19Z</dc:date>
    <item>
      <title>how to make a histogram on SAS University without getting errors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-make-a-histogram-on-SAS-University-without-getting-errors/m-p/432949#M14950</link>
      <description>&lt;P&gt;I am trying to create a histogram with the following code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Options pagesize=45;&lt;BR /&gt;Data Fish;&lt;BR /&gt;Input time quality @@;&lt;BR /&gt;Cards;&lt;BR /&gt;0 8.5&lt;BR /&gt;0 8.4&lt;BR /&gt;3 7.9&lt;BR /&gt;3 8.1&lt;BR /&gt;6 7.8&lt;BR /&gt;6 7.6&lt;BR /&gt;9 7.3&lt;BR /&gt;9 7.0&lt;BR /&gt;12 6.8&lt;BR /&gt;12 6.7&lt;BR /&gt;;&lt;BR /&gt;Run;&lt;BR /&gt;Proc Reg;&lt;BR /&gt;Model quality=time;&lt;BR /&gt;plot quality*time='*';&lt;BR /&gt;plot R.*P.='?';&lt;BR /&gt;plot R.*time='@';&lt;BR /&gt;output out=error R=resid;&lt;BR /&gt;Run;&lt;BR /&gt;Proc Chart;&lt;BR /&gt;vbar resid;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following errors occur&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Appendage SASXGANO not found, unable to produce graphics.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: The data set WORK.ERROR may be incomplete. When this step was stopped there were 0 observations and 0 variables.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: Data set WORK.ERROR was not replaced because this step was stopped.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE REG used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 10.66 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 2.24 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;96 Proc Chart;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;97 vbar resid;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Variable RESID not found.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;98 run;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Any suggestions on how to fix this?&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE class="sasLog"&gt;&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 00:07:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-make-a-histogram-on-SAS-University-without-getting-errors/m-p/432949#M14950</guid>
      <dc:creator>cken123</dc:creator>
      <dc:date>2018-02-01T00:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to make a histogram on SAS University without getting errors</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/how-to-make-a-histogram-on-SAS-University-without-getting-errors/m-p/432987#M14952</link>
      <description>&lt;P&gt;I appears that ODS Graphics is somehow turn off in your case. Also, use PROC SGPLOT instead of PROC CHART. Try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on;

Proc Reg;
Model quality=time;
plot quality*time='*';
plot R.*P.='?';
plot R.*time='@';
output out=error R=resid;
Run;

Proc sgplot data=error;
vbar resid;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 03:45:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/how-to-make-a-histogram-on-SAS-University-without-getting-errors/m-p/432987#M14952</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-02-01T03:45:19Z</dc:date>
    </item>
  </channel>
</rss>

