<?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: Need help - how to direct SGPLOT output (BY option) to side-by-side via ODS (or other method) in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577883#M34345</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1069"&gt;@dsmall2112&lt;/a&gt;&amp;nbsp;Try changing your ODS HTML to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html(eghtml) gtitle;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 30 Jul 2019 19:40:15 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2019-07-30T19:40:15Z</dc:date>
    <item>
      <title>Need help - how to direct SGPLOT output (BY option) to side-by-side via ODS (or other method)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577799#M34333</link>
      <description>&lt;P&gt;I work with very large "stacked" time-series data and have found &lt;STRONG&gt;SGPLOT&lt;/STRONG&gt; (using the "BY" command) works great to produce quality charts.&amp;nbsp; Currently SGPLOT outputs one chart for each of my BY elements.&amp;nbsp; The "BY" command is a powerful feature in SGPLOT, as I typically work with hundreds of distinct BY elements (i.e. makes "mass charting" possible).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to arrange the output charts "side by side" (2 charts, 3 charts, etc.).&amp;nbsp; I'm not creating HTML destination files, just viewing the "Results - HTML" window in my SAS EG (7.15) desktop.&amp;nbsp; Just need a simple solution that works in EG.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;I started working with &lt;STRONG&gt;SGPANEL&lt;/STRONG&gt; but I will have to completely modify my approach to data structure, so hoping I can avoid that.&amp;nbsp; Also, I want each individual chart to have independent Y-axis (given mix/match of different scales), which I couldn't solve in SGPANEL.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Another approach I saw involved &lt;STRONG&gt;ODS&lt;/STRONG&gt; (&lt;FONT color="#0000ff"&gt;ods layout gridded columns=2&lt;/FONT&gt;;&amp;nbsp; ).&amp;nbsp; However I couldn't get it to work with BY command in SGPLOT.&amp;nbsp; I think this may still be a good option, but need help getting it to work.&amp;nbsp; It seems like I need a way to "point" each chart output from "BY" command to a spot on the ODS Grid layout.&amp;nbsp; Probably a "Z" pattern (as dictated by "BY" sort).&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Below, part (1) is quick example to create "stacked" time-series data (to mimic what I use), and to produce the numerous charts.&amp;nbsp; part (2) tries to incorporate ODS commands however I am unable to get this to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(1) Code to generate stacked data, and illustrative SGPLOT&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc transpose data=sashelp.usecon out=stack; by date; run;

data stack; set stack;
format date mmddyy10.;
rename COL1=Value;
run;

proc sort data=stack; by _NAME_ date;run;

proc sgplot data=stack; by _NAME_;
series x=Date y=Value;  
title font=calibri bold color=black h=12pt '#byval1' ;
where Value ne .;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;(2) SGPLOT with ODS&lt;/STRONG&gt; - failed attempt to create side-by-side using &lt;FONT color="#0000ff"&gt;ODS layout Gridded Columns=2&lt;/FONT&gt;;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;the charts appear similar as the stacked above (i.e. not side by side)&lt;/EM&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods layout gridded columns=2;
ods graphics / width=600 height=450;
ods region;
ods html(eghtml);

proc sgplot data=stack; by _NAME_;
   series x=Date y=Value;  
   title font=calibri bold color=black h=12pt '#byval1' ;
   where Value ne .;
run;

ods layout end;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;** I am only trying to view this in SAS EG's "Result - HTML" viewer -- not trying to create .html files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;THANKS for any help or suggestions to solving this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 15:56:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577799#M34333</guid>
      <dc:creator>dsmall2112</dc:creator>
      <dc:date>2019-07-30T15:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need help - how to direct SGPLOT output (BY option) to side-by-side via ODS (or other method)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577813#M34334</link>
      <description>Are you set on using HTML?&lt;BR /&gt;If you can use PDF there's a column option on the PDF statement that will split your page into three columns or two by default. Just makes sure to set your page size accordingly. &lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jul 2019 16:30:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577813#M34334</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-30T16:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need help - how to direct SGPLOT output (BY option) to side-by-side via ODS (or other method)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577816#M34335</link>
      <description>I might try the PDF option (can enable PDF Results viewer in EG to achieve similar-looking output).  Would that be with ODS?  Any coding examples you could share? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jul 2019 16:36:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577816#M34335</guid>
      <dc:creator>dsmall2112</dc:creator>
      <dc:date>2019-07-30T16:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need help - how to direct SGPLOT output (BY option) to side-by-side via ODS (or other method)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577817#M34336</link>
      <description>&lt;P&gt;You could use PROC SGPANEL&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 16:38:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577817#M34336</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-30T16:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need help - how to direct SGPLOT output (BY option) to side-by-side via ODS (or other method)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577819#M34337</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file = '/folders/myfolders/demo.pdf' columns=2 style=seaside;

proc sort data=sashelp.cars out=cars;
by make;
run;

proc sgplot data=cars;
by make;
scatter x=mpg_city y=mpg_highway;
run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1069"&gt;@dsmall2112&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I might try the PDF option (can enable PDF Results viewer in EG to achieve similar-looking output). Would that be with ODS? Any coding examples you could share? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 16:48:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577819#M34337</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-30T16:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need help - how to direct SGPLOT output (BY option) to side-by-side via ODS (or other method)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577841#M34340</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I couldn't get the EG "results - PDF" viewer to reflect side-by-side, but I was able to use your code (specify an output PDF file on server)&amp;nbsp;to get side-by-side (see uploaded PDF).&amp;nbsp; However, this only put 2 charts on a single page.&amp;nbsp; Is there any way to adjust to get (say 4 or 6)?&amp;nbsp; I do feel that the HTML picture quality is better than the PDF, although that may just be in settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code using PDF output (via ODS):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file = '/my_directory/charts_side-by-side_test.pdf' columns=2 style=seaside;

proc sgplot data=stack; by _NAME_ ;
series x=Date y=Value;    
title  font=calibri bold color=black h=12pt '#byval1' ;
where Value ne .;
run; 

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Jul 2019 17:44:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577841#M34340</guid>
      <dc:creator>dsmall2112</dc:creator>
      <dc:date>2019-07-30T17:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need help - how to direct SGPLOT output (BY option) to side-by-side via ODS (or other method)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577842#M34341</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1069"&gt;@dsmall2112&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;... However, this only put 2 charts on a single page.&amp;nbsp; Is there any way to adjust to get (say 4 or 6)?&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You could use PROC SGPANEL.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 17:47:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577842#M34341</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-30T17:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need help - how to direct SGPLOT output (BY option) to side-by-side via ODS (or other method)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577843#M34342</link>
      <description>&lt;P&gt;How about using ODS LAYOUT?&amp;nbsp; &lt;A href="https://blogs.sas.com/content/sasdummy/2015/11/23/ods-statement-options-to-change/" target="_self"&gt;See some examples in this article&lt;/A&gt;.&amp;nbsp; I see you tried, but you might be missing some options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is an &lt;A href="https://go.documentation.sas.com/?docsetId=odsug&amp;amp;docsetTarget=p06ji2uhvayhq5n1eik2z2rf2ga8.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;ADVANCE=BYGROUP directive&lt;/A&gt; that you should use to get the BY group output to advance to the next region.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 17:49:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577843#M34342</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2019-07-30T17:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need help - how to direct SGPLOT output (BY option) to side-by-side via ODS (or other method)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577853#M34343</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt; for your suggestion.&amp;nbsp; I did attempt SGPANEL but a couple of things about it that I didn't like (and haven't figured out how to overcome).&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;First was the Y-Axis scale needs to be independent.&amp;nbsp; So far as I can tell SGPANEL forces same Y axis scale, at least on a given row of charts.&lt;/LI&gt;
&lt;LI&gt;Second, the titles for charts needs some work (this may just require some refinement to get it to work as I'd like).&amp;nbsp; SGPANEL may yet work but I'll have to spend time resolving these obstacles.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Continuing with my "stacked" structure, here's what I came up with using SGPANEL.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on /width=8in height=4in;
proc sgpanel data=stack;
	panelby _NAME_ / columns=2 rows=1;
	series x=date y=value ;
	*X;colaxis grid;
	*Y;rowaxis grid;
run;  &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 18:22:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577853#M34343</guid>
      <dc:creator>dsmall2112</dc:creator>
      <dc:date>2019-07-30T18:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need help - how to direct SGPLOT output (BY option) to side-by-side via ODS (or other method)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577859#M34344</link>
      <description>&lt;P&gt;Thanks to everyone for your posts!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp; your response (&lt;FONT color="#000080"&gt;advance=BYGROUP&lt;/FONT&gt;) was the answer I needed to use the ODS LAYOUT GRIDDED method.&amp;nbsp; Results were excellent.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do need to solve how to TITLE each chart now (title statements in the PROC SGPLOT only work on the 1st chart; charts 2-N have no title).&amp;nbsp; I'm sure this is buried within the ODS coding (ODS Text ?) so that will be my next challenge.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is the updated ODS code, using &lt;FONT color="#000080"&gt;advance=BYGROUP:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*-----(1) Generate Stacked Time-Series Data----------------;
proc transpose data=sashelp.usecon out=stack; by date; run;

data stack; set stack;
format date mmddyy10.;
rename COL1=Value;
run;

proc sort data=stack; by _NAME_ date;run;
 
*-----(2) Begin ODS LAYOUT GRIDDED ----------------;
ods layout gridded columns=2 advance=bygroup;
ods graphics on /width=4in height=3in;
ods region;
ods html(eghtml);

*-----(3) Output charts----------------;
proc sgplot data=stack; by _NAME_ ;
series x=Date y=Value;    
*title  font=calibri bold color=black h=12pt '#byval1' ;*titles not working in ODS;
where Value ne .;
run; 
*-----(4) End ODS LAYOUT GRIDDED ----------------;
ods layout end;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 18:55:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577859#M34344</guid>
      <dc:creator>dsmall2112</dc:creator>
      <dc:date>2019-07-30T18:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need help - how to direct SGPLOT output (BY option) to side-by-side via ODS (or other method)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577883#M34345</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1069"&gt;@dsmall2112&lt;/a&gt;&amp;nbsp;Try changing your ODS HTML to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html(eghtml) gtitle;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Jul 2019 19:40:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/577883#M34345</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2019-07-30T19:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need help - how to direct SGPLOT output (BY option) to side-by-side via ODS (or other method)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/578101#M34358</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I added the GTITLE option, but still did not work.&amp;nbsp; SAS Documentation indicates GTITLE has TITLE restrictions (so I'm wondering if #BYVAL method&amp;nbsp;may not be supported).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the updated code (from previous example):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods layout gridded columns=2 advance=bygroup;
ods graphics on /width=4in height=3in;
ods region;
ods html(eghtml) gtitle;

proc sgplot data=stack; by _NAME_ ;
series x=Date y=Value;    
title "#byval1" ;*does no work with ODS LAYOUT GRIDDED / GTITLE option;*single quotes don't work either;
where Value ne .;
run; 

ods layout end;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Of course, this method is new to me so I might need to research (or reach out to SAS Support to confirm a restriction).&amp;nbsp; If I resolve, I will post here.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 14:30:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/578101#M34358</guid>
      <dc:creator>dsmall2112</dc:creator>
      <dc:date>2019-07-31T14:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need help - how to direct SGPLOT output (BY option) to side-by-side via ODS (or other method)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/578108#M34359</link>
      <description>&lt;P&gt;This worked for me with SAS 9.4 M4.&amp;nbsp; Does #BYLINE do what you need?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.cars out=cars;
 by make;
run;
title;
ods layout gridded columns=2 advance=bygroup;
ods graphics on /width=4in height=3in;
ods region;
ods html(eghtml) gtitle;

title "MSRP vs INVOICE: #byline";
proc sgplot data=cars; by make ;
scatter x=msrp y=invoice;
run; 
ods layout end;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="byline.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31446i3A5DBDF02FF4B8BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="byline.png" alt="byline.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, there might be some tricks you can do with TEXT plot.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 14:58:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-how-to-direct-SGPLOT-output-BY-option-to-side-by-side/m-p/578108#M34359</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2019-07-31T14:58:45Z</dc:date>
    </item>
  </channel>
</rss>

