<?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: Why Won't Scatter Plots Print in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-Won-t-Scatter-Plots-Print/m-p/254656#M17867</link>
    <description>&lt;P&gt;If you run the plot code, not the macro, do you get results?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is anything in the macro directing where your output goes? If you have an ODS HTML statement you might need to watch where the ODS HTML Close statement is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you look in your default results folder do you have a bunch of PNG files corresponding to the graph calls?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you did something with options regarding the imagefmt that might be an issue with some forms of graphs and options, activex and java both having limits.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise you may have to turn on OPTIONS MPRINT and look closer at the log for details.&lt;/P&gt;</description>
    <pubDate>Sat, 05 Mar 2016 00:23:48 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-03-05T00:23:48Z</dc:date>
    <item>
      <title>Why Won't Scatter Plots Print</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-Won-t-Scatter-Plots-Print/m-p/254653#M17866</link>
      <description>&lt;P&gt;I have a rather complicated program that I run, it will iterate through a list of variables and do certain things...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of those things I want to do, is create a scatterplot, so when I'm all done I can open up my HTML results and see a whole list of scatterplots that it created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For some reason, my code works fine but the scatterplots never appear. In fact I get no HTML results whatsoever (the default in my case)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options source NOnotes NOserror;

%macro plotting(datasetname,xvar,yvar);
	proc sgscatter data=&amp;amp;datasetname);
	  title "&amp;amp;xvar versus &amp;amp;yvar";
	  plot (&amp;amp;xvar)*(&amp;amp;yvar)
	       / pbspline;
	run;
%mend plotting;


%macro main;
* do stuff;
   %plotting(&amp;amp;datasetname,&amp;amp;xvar,&amp;amp;yvar);
%mend main;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2016 00:11:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-Won-t-Scatter-Plots-Print/m-p/254653#M17866</guid>
      <dc:creator>JBerry</dc:creator>
      <dc:date>2016-03-05T00:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why Won't Scatter Plots Print</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-Won-t-Scatter-Plots-Print/m-p/254656#M17867</link>
      <description>&lt;P&gt;If you run the plot code, not the macro, do you get results?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is anything in the macro directing where your output goes? If you have an ODS HTML statement you might need to watch where the ODS HTML Close statement is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you look in your default results folder do you have a bunch of PNG files corresponding to the graph calls?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you did something with options regarding the imagefmt that might be an issue with some forms of graphs and options, activex and java both having limits.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise you may have to turn on OPTIONS MPRINT and look closer at the log for details.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2016 00:23:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-Won-t-Scatter-Plots-Print/m-p/254656#M17867</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-03-05T00:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why Won't Scatter Plots Print</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-Won-t-Scatter-Plots-Print/m-p/254659#M17868</link>
      <description>&lt;P&gt;Yeah, if I run the code alone, it prints right to the HTML output tab in E.G.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also searched for ods statements in the program and there are none. I attempted to wrap the macro in ods HTML file= &amp;nbsp; and ods close; but still nothing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll turn on MPRINT and see if there are any clues...&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2016 00:40:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-Won-t-Scatter-Plots-Print/m-p/254659#M17868</guid>
      <dc:creator>JBerry</dc:creator>
      <dc:date>2016-03-05T00:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why Won't Scatter Plots Print</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-Won-t-Scatter-Plots-Print/m-p/254661#M17869</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;THANKS!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mprint showed the issue - &amp;nbsp;it was a silly extraneous character&amp;nbsp;being inserted&amp;nbsp;into the value for xvar from a prior process. Your tip saved me my sanity. Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2016 00:45:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Why-Won-t-Scatter-Plots-Print/m-p/254661#M17869</guid>
      <dc:creator>JBerry</dc:creator>
      <dc:date>2016-03-05T00:45:05Z</dc:date>
    </item>
  </channel>
</rss>

