<?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: PLOTTING MULTIPLE GRAPHS in one panel in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/PLOTTING-MULTIPLE-GRAPHS-in-one-panel/m-p/452141#M15496</link>
    <description>this comes close to what I'm trying to do. However, the loess curves disappear when I use what they suggested. I guess I'll take it for now. Thank you.</description>
    <pubDate>Sat, 07 Apr 2018 00:30:07 GMT</pubDate>
    <dc:creator>kcodo</dc:creator>
    <dc:date>2018-04-07T00:30:07Z</dc:date>
    <item>
      <title>PLOTTING MULTIPLE GRAPHS in one panel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PLOTTING-MULTIPLE-GRAPHS-in-one-panel/m-p/451776#M15477</link>
      <description>&lt;P&gt;&lt;SPAN&gt;So I have these 4 graphs that I want to fit into one panel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I created these graphs with the codes below:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format; 
value group 0="control" 1="OA" 2= "LSS";
run;
title2 "Double Support vs.Physical Function with loess fit";
proc sgplot data=mydata;
loess x=PF  y=DS_median /alpha=0.05 interpolation=linear degree=1
 group=group;
scatter x=PF  y=DS_median / group=group
   markerattrs=(symbol=CircleFilled size=14)
   filledoutlinedmarkers 
   colormodel=(CX3288BD CX99D594 CXE6F598 CXFEE08B CXFC8D59 CXD53E4F);
xaxis grid; yaxis grid; 
xaxis label='Physical Function Score';
yaxis label='Percent Double Support';
format group group.;
run; quit;
proc format; 
value group 0="control" 1="OA" 2= "LSS";
run;
title2 "#cycles_total vs. physical function with loess fit";
proc sgplot data=mydata;
loess x=PF  y=NrCycles /interpolation=linear degree=1
 group=group;
scatter x=PF  y=NrCycles / group=group
   markerattrs=(symbol=CircleFilled size=14)
   filledoutlinedmarkers 
   colormodel=(CX3288BD CX99D594 CXE6F598 CXFEE08B CXFC8D59 CXD53E4F);
xaxis grid; yaxis grid; 
xaxis label='Physical Function Score';
yaxis label='Number of Total Gait Cycles';
format group group.;
run; quit;
title2 "Straight Cycles vs. physical function with loess fit";
proc sgplot data=mydata;
loess x=PF  y=NrCycleStraight /interpolation=linear degree=1
 group=group;
scatter x=PF  y=NrCycleStraight / group=group
   markerattrs=(symbol=CircleFilled size=14)
   filledoutlinedmarkers 
   colormodel=(CX3288BD CX99D594 CXE6F598 CXFEE08B CXFC8D59 CXD53E4F);
xaxis grid; yaxis grid; 
xaxis label='Physical Function Score';
yaxis label='Number of Straight Gait Cycles';
format group group.;
run; quit;
title2 "Curved Cycles vs. physical function with loess fit";
proc sgplot data=mydata;
loess x=PF  y=NrCycleTurn /interpolation=linear degree=1
 group=group;
scatter x=PF  y=NrCycleTurn / group=group
   markerattrs=(symbol=CircleFilled size=14)
   filledoutlinedmarkers 
   colormodel=(CX3288BD CX99D594 CXE6F598 CXFEE08B CXFC8D59 CXD53E4F);
xaxis grid; yaxis grid; 
xaxis label='Physical Function Score';
yaxis label='Number of Curved Gait Cycles';
format group group.;
run; quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Attached is the graphs that the above code&amp;nbsp;produces. I would like all 4 graphs in one view/panel/page as opposed to how they are now on separate pages.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I had considered doing a&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;proc sgpanel data=mydata; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but not sure how to proceed to combine the 4&amp;nbsp;separate codes as above. Any help much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 06:38:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PLOTTING-MULTIPLE-GRAPHS-in-one-panel/m-p/451776#M15477</guid>
      <dc:creator>kcodo</dc:creator>
      <dc:date>2018-04-06T06:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: PLOTTING MULTIPLE GRAPHS in one panel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PLOTTING-MULTIPLE-GRAPHS-in-one-panel/m-p/451797#M15480</link>
      <description>&lt;P&gt;Perhaps gridded output:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=grstatug&amp;amp;docsetTarget=p1hc9zh9cfvelkn11k57in8ind9q.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=grstatug&amp;amp;docsetTarget=p1hc9zh9cfvelkn11k57in8ind9q.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 08:29:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PLOTTING-MULTIPLE-GRAPHS-in-one-panel/m-p/451797#M15480</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-06T08:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: PLOTTING MULTIPLE GRAPHS in one panel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PLOTTING-MULTIPLE-GRAPHS-in-one-panel/m-p/452141#M15496</link>
      <description>this comes close to what I'm trying to do. However, the loess curves disappear when I use what they suggested. I guess I'll take it for now. Thank you.</description>
      <pubDate>Sat, 07 Apr 2018 00:30:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PLOTTING-MULTIPLE-GRAPHS-in-one-panel/m-p/452141#M15496</guid>
      <dc:creator>kcodo</dc:creator>
      <dc:date>2018-04-07T00:30:07Z</dc:date>
    </item>
  </channel>
</rss>

