<?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 can I make the formatting of a graph sent in an email look the same as it does in ods output in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-can-I-make-the-formatting-of-a-graph-sent-in-an-email-look/m-p/787096#M251417</link>
    <description>So far I've just let the files go to my working directory. I added a gpath statement though and the saved files are no different.</description>
    <pubDate>Wed, 22 Dec 2021 13:43:14 GMT</pubDate>
    <dc:creator>Hungry2Learn</dc:creator>
    <dc:date>2021-12-22T13:43:14Z</dc:date>
    <item>
      <title>How can I make the formatting of a graph sent in an email look the same as it does in ods output?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-I-make-the-formatting-of-a-graph-sent-in-an-email-look/m-p/786757#M251236</link>
      <description>&lt;P&gt;For reference, I'm using Studio 3.5.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm creating my graph using this code&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;ods graphics / imagefmt=png imagename='DemoPNG';
proc sgplot data=work.dummytable (where=(yvar_name &amp;gt; 0));
	scatter x=xvar_name y=yvar_name / group=category_name markerattrs=(size=5);
	xaxis grid;
	yaxis grid type=log;
run;
ods graphics on / reset=all;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Which provides me with this graph in the results tab&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DemoStudioResults.PNG" style="width: 645px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66894iA68FD3591103BDF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="DemoStudioResults.PNG" alt="DemoStudioResults.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this graph in the DemoPNG.png file&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DemoPNG.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66895iE125254C9A11FDFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="DemoPNG.png" alt="DemoPNG.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I send the email using the following code&lt;/P&gt;&lt;PRE&gt;filename send email to=('first.last@company.com')
    subject='Graph Report'
    attach=('DemoPNG.png' NAME='GraphImage' INLINED='inserter')
    content_type='text/html';

data _null_;
    file send;
    put '&amp;lt;IMG src="cid:inserter" height="500" width="800"&amp;gt;';
run;&lt;/PRE&gt;&lt;P&gt;I'd like to have the DemoPNG graph look like what's displayed in results but I'm having trouble figuring out how to do so. Thanks in advance for the help!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 15:34:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-I-make-the-formatting-of-a-graph-sent-in-an-email-look/m-p/786757#M251236</guid>
      <dc:creator>Hungry2Learn</dc:creator>
      <dc:date>2021-12-20T15:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make the formatting of a graph sent in an email look the same as it does in ods output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-I-make-the-formatting-of-a-graph-sent-in-an-email-look/m-p/786924#M251319</link>
      <description>Try this option :&lt;BR /&gt;&lt;BR /&gt;ods graphics / attrpriority=color ;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Dec 2021 12:25:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-I-make-the-formatting-of-a-graph-sent-in-an-email-look/m-p/786924#M251319</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-12-21T12:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make the formatting of a graph sent in an email look the same as it does in ods output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-I-make-the-formatting-of-a-graph-sent-in-an-email-look/m-p/786930#M251323</link>
      <description>I gave this a shot, but sadly there was no change to the session png file or the embedded image.</description>
      <pubDate>Tue, 21 Dec 2021 14:12:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-I-make-the-formatting-of-a-graph-sent-in-an-email-look/m-p/786930#M251323</guid>
      <dc:creator>Hungry2Learn</dc:creator>
      <dc:date>2021-12-21T14:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make the formatting of a graph sent in an email look the same as it does in ods output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-I-make-the-formatting-of-a-graph-sent-in-an-email-look/m-p/787085#M251412</link>
      <description>&lt;P&gt;Do you used this code to save your PGN image ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods listing /gpath='c:\temp' ;
&lt;/PRE&gt;
&lt;P&gt;Or&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13585"&gt;@GraphGuy&lt;/a&gt;&amp;nbsp; Robert.A know the solution .&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 11:59:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-I-make-the-formatting-of-a-graph-sent-in-an-email-look/m-p/787085#M251412</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-12-22T11:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make the formatting of a graph sent in an email look the same as it does in ods output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-I-make-the-formatting-of-a-graph-sent-in-an-email-look/m-p/787096#M251417</link>
      <description>So far I've just let the files go to my working directory. I added a gpath statement though and the saved files are no different.</description>
      <pubDate>Wed, 22 Dec 2021 13:43:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-I-make-the-formatting-of-a-graph-sent-in-an-email-look/m-p/787096#M251417</guid>
      <dc:creator>Hungry2Learn</dc:creator>
      <dc:date>2021-12-22T13:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make the formatting of a graph sent in an email look the same as it does in ods output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-I-make-the-formatting-of-a-graph-sent-in-an-email-look/m-p/787104#M251422</link>
      <description>&lt;P&gt;Perhaps try hard-coding an ods style (such as style=htmlblue).&lt;/P&gt;
&lt;P&gt;Unfortunately, I think SAS defaults to different ods styles in different situations, rather than having the same default everywhere.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 14:02:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-I-make-the-formatting-of-a-graph-sent-in-an-email-look/m-p/787104#M251422</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2021-12-22T14:02:06Z</dc:date>
    </item>
  </channel>
</rss>

