<?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: Merge to PNG files to one in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Merge-to-PNG-files-to-one/m-p/713946#M27232</link>
    <description>&lt;P&gt;I am real interested in how you created a PNG of that proc tabulate since you don't show it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS is not really set up for post processing of output file formats.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you provide data for both of those sets we might have suggestions to get all the information into a single graphic image file. Maybe.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jan 2021 15:52:43 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-01-25T15:52:43Z</dc:date>
    <item>
      <title>Merge to PNG files to one</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Merge-to-PNG-files-to-one/m-p/713866#M27228</link>
      <description>&lt;P&gt;Hi I have a SGPLOT as a PNG file, and a proc tabulate as an PNG file.&lt;/P&gt;
&lt;P&gt;I would like to put these to as ONE png file, but not PDF. I tried to do it with PDF it worked - but i have to put it in an email (not an attachement) an it did not work with a PDF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to merge to png's to oone?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;

PROC TABULATE data=metode_count ;
CLASS new1 method;
var count;
table new1 = '' all={label='Total'}, method='' * count = '' * sum=''/row=float misstext='0';
RUN;


ROC SGPLOT DATA = Merged_1 PCTLEVEL=GROUP NOBORDER NOWALL NOCYCLEATTRS ;
format dato ddmmyy.;
VBAR method/GROUP = days stat= percent NOOUTLINE;       
TITLE 'An';
keylegend / title="";
XAXIS DISPLAY=(NOLABEL);
YAXIS DISPLAY=(NOLABEL);
FORMAT days days.;
styleattrs DATACOLORS=('#CBE5A1' '#FFFF00' mistyrose firebrick );
run;




&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;the tabel should be under the sgplot in a PNG file&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 11:00:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Merge-to-PNG-files-to-one/m-p/713866#M27228</guid>
      <dc:creator>mmea</dc:creator>
      <dc:date>2021-01-25T11:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Merge to PNG files to one</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Merge-to-PNG-files-to-one/m-p/713946#M27232</link>
      <description>&lt;P&gt;I am real interested in how you created a PNG of that proc tabulate since you don't show it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS is not really set up for post processing of output file formats.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you provide data for both of those sets we might have suggestions to get all the information into a single graphic image file. Maybe.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 15:52:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Merge-to-PNG-files-to-one/m-p/713946#M27232</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-01-25T15:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Merge to PNG files to one</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Merge-to-PNG-files-to-one/m-p/714185#M27277</link>
      <description>&lt;LI-SPOILER&gt;&amp;nbsp;&lt;/LI-SPOILER&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;

options printerpath=(png out) nodate nonumber papersize=('4in','4in');
filename out 'F:\test\out2.png';
ods listing close;
ods printer;

PROC TABULATE data=metode_count;
CLASS new1 metode;
var count;
table new1 = '' all={label='Total'}, metode='' * count = '' * sum=''/row=float misstext='0';
RUN;


ods printer close;
ods listing;
ods _all_ close;
title;

**ods listing gpath="\\\Figureframail";



ods listing gpath="F:\test\";
ods graphics / reset=index outputfmt=PNG imagename="Figur1_&amp;amp;todaysDate.";  


PROC SGPLOT DATA = Merged_1 PCTLEVEL=GROUP NOBORDER NOWALL NOCYCLEATTRS ;
format dato ddmmyy.;
VBAR metode/GROUP = days stat= percent NOOUTLINE;       
TITLE 'An';
keylegend / title="";
XAXIS DISPLAY=(NOLABEL);
YAXIS DISPLAY=(NOLABEL);
FORMAT days days.;
styleattrs DATACOLORS=('#CBE5A1' '#FFFF00' mistyrose firebrick );
run;


ods graphics / reset=index outputfmt=PNG imagename="Figur2_&amp;amp;todaysDate.";  
  
PROC SGPLOT DATA = testdays_2 NOBORDER NOWALL;
format dato ddmmyyd10.;
vbarparm category=dato response=percent/ nooutline;
Title1 font = 'Calibri' height=16pt "An";
keylegend / title="";
styleattrs DATACOLORS=(STEEL);
refline 80/lineattrs=(thickness=2 color=red) label=("Politisk målsætning");
XAXIS DISPLAY=(NOLABEL);
YAXIS DISPLAY=(NOLABEL);
run;

ods listing close;
ods _all_ close;
title;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;this is how i save them as PNG's seperately&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 08:20:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Merge-to-PNG-files-to-one/m-p/714185#M27277</guid>
      <dc:creator>mmea</dc:creator>
      <dc:date>2021-01-26T08:20:03Z</dc:date>
    </item>
  </channel>
</rss>

