<?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 SGPLOT in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT/m-p/525682#M17634</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods close;
ods layout gridded columns=2;
ods graphics/width=15cm height=10cm;

ods listing gpath="/folders/myfolders/CMAXCI/";
ods graphics on /imagefmt=TIFF;
ods region;
TITLE1 'D Aptensio Peak 1';
PROC SGPLOT DATA=afinal1;
HISTOGRAM cmmean1 /nbins=20;
refline 7.7 10.7 13.7 / axis=x  lineattrs= (thickness=2 color=black pattern=longdash);
xaxis min=5 max=14;
run;


ods listing gpath="/folders/myfolders/CMAXCI/";
ods graphics on /imagefmt=TIFF;
ods region;
TITLE1 'D Aptensio Peak 2';
PROC SGPLOT DATA=afinal2;
HISTOGRAM cmmean2/ nbins=20;
refline 7.1 9.63 12.2/ axis=x  lineattrs= (thickness=2 color=black pattern=shortdash);
xaxis min=5 max=14;
run;
ods layout end;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I found a response for multiple pdf graphs to be output and I tried to use it for Tiff output.&amp;nbsp; It ran but separate graphs were out put.&lt;/P&gt;&lt;P&gt;Can some one tell me how to edit the code to get a single tow column graph to be output.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jan 2019 12:28:38 GMT</pubDate>
    <dc:creator>jacksonan123</dc:creator>
    <dc:date>2019-01-09T12:28:38Z</dc:date>
    <item>
      <title>SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT/m-p/525682#M17634</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods close;
ods layout gridded columns=2;
ods graphics/width=15cm height=10cm;

ods listing gpath="/folders/myfolders/CMAXCI/";
ods graphics on /imagefmt=TIFF;
ods region;
TITLE1 'D Aptensio Peak 1';
PROC SGPLOT DATA=afinal1;
HISTOGRAM cmmean1 /nbins=20;
refline 7.7 10.7 13.7 / axis=x  lineattrs= (thickness=2 color=black pattern=longdash);
xaxis min=5 max=14;
run;


ods listing gpath="/folders/myfolders/CMAXCI/";
ods graphics on /imagefmt=TIFF;
ods region;
TITLE1 'D Aptensio Peak 2';
PROC SGPLOT DATA=afinal2;
HISTOGRAM cmmean2/ nbins=20;
refline 7.1 9.63 12.2/ axis=x  lineattrs= (thickness=2 color=black pattern=shortdash);
xaxis min=5 max=14;
run;
ods layout end;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I found a response for multiple pdf graphs to be output and I tried to use it for Tiff output.&amp;nbsp; It ran but separate graphs were out put.&lt;/P&gt;&lt;P&gt;Can some one tell me how to edit the code to get a single tow column graph to be output.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 12:28:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT/m-p/525682#M17634</guid>
      <dc:creator>jacksonan123</dc:creator>
      <dc:date>2019-01-09T12:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT/m-p/531868#M17738</link>
      <description>&lt;P&gt;The only way I know is to use proc GPLOT or GCHART and then proc GREPLAY.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 02:59:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT/m-p/531868#M17738</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-02-01T02:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT/m-p/531872#M17739</link>
      <description>&lt;P&gt;If you merge your two data sets together, try this GTL template below and see if it works for you. If the data are related, another option might be to combine your data in a way that you can use PROC SGPANEL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
define statgraph two_hist;
begingraph;
layout lattice / columndatarange=data;
cell;
cellheader;
Entry 'D Aptensio Peak 1' / textattrs=GraphTitleText;
endcellheader;
layout overlay / xaxisopts=(linearopts=(viewmin=5 viewmax=14));
HISTOGRAM cmmean1 / nbins=20 binaxis=false;
referenceline x=7.7 /  lineattrs= (thickness=2 color=black pattern=longdash);
referenceline x=10.7 /  lineattrs= (thickness=2 color=black pattern=longdash);
referenceline x=13.7 /  lineattrs= (thickness=2 color=black pattern=longdash);
endlayout;
endcell;
cell;
cellheader;
Entry 'D Aptensio Peak 2' / textattrs=GraphTitleText;
endcellheader;
layout overlay / xaxisopts=(linearopts=(viewmin=5 viewmax=14));
HISTOGRAM cmmean2 / nbins=20 binaxis=false;
referenceline x=7.1 /  lineattrs= (thickness=2 color=black pattern=shortdash);
referenceline x=9.63 /  lineattrs= (thickness=2 color=black pattern=shortdash);
referenceline x=12.2 /  lineattrs= (thickness=2 color=black pattern=shortdash);
endlayout;
endcell;
endlayout;
endgraph;
end;
run;

ods listing gpath="/folders/myfolders/CMAXCI/";
ods graphics on /imagefmt=TIFF;
PROC sgrender DATA=merged template=two_hist;
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>Fri, 01 Feb 2019 03:46:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT/m-p/531872#M17739</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-02-01T03:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT/m-p/531873#M17740</link>
      <description>Thanks for the response, but I decided to prepare the graphs in R and I&lt;BR /&gt;obtained what I needed. This was an old post and maybe I forgot to close it&lt;BR /&gt;since I didn't get a reasonable response.&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Feb 2019 03:52:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT/m-p/531873#M17740</guid>
      <dc:creator>jacksonan123</dc:creator>
      <dc:date>2019-02-01T03:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: SGPLOT</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPLOT/m-p/531874#M17741</link>
      <description>&lt;P&gt;This works but this was an old post and I had decided to use R which also works well.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 03:54:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPLOT/m-p/531874#M17741</guid>
      <dc:creator>jacksonan123</dc:creator>
      <dc:date>2019-02-01T03:54:22Z</dc:date>
    </item>
  </channel>
</rss>

