<?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: Multiple independent scatter plots in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-independent-scatter-plots/m-p/472527#M16328</link>
    <description>&lt;P&gt;that is amazing, thank you&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jun 2018 15:49:18 GMT</pubDate>
    <dc:creator>matt23</dc:creator>
    <dc:date>2018-06-22T15:49:18Z</dc:date>
    <item>
      <title>Multiple independent scatter plots</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-independent-scatter-plots/m-p/472513#M16322</link>
      <description>&lt;P&gt;Hi, I'd like to have all 4 of my scatter plots in one window like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-06-22 at 11.08.05 AM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21336iD79034B1E4190804/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-06-22 at 11.08.05 AM.png" alt="Screen Shot 2018-06-22 at 11.08.05 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have 4 scatter plots for 4 different seasons. Here's an example of a scatter plot for winter:&lt;/P&gt;&lt;PRE&gt;proc sgplot data=dataname (where=(Month in(12,1,2)));
scatter x=Temperature y=Load;
xaxis label="Temperature (degrees F)";
yaxis label="Load (MW)";
title 'Load vs Temperature';
run;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Jun 2018 15:12:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Multiple-independent-scatter-plots/m-p/472513#M16322</guid>
      <dc:creator>matt23</dc:creator>
      <dc:date>2018-06-22T15:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple independent scatter plots</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-independent-scatter-plots/m-p/472517#M16323</link>
      <description>&lt;P&gt;Check PROC SGPANEL, which allows a PANELBY variable so you can segment your plots.&amp;nbsp; This works if all X/Y axis variables are the same for each plot, and you're just grouping with another variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, you could use PROC TEMPLATE to design a custom layout.&amp;nbsp; ODS Graphics Designer is a point-and-click interface that can help you design this with a minimum of manual coding.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 15:20:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Multiple-independent-scatter-plots/m-p/472517#M16323</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-06-22T15:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple independent scatter plots</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-independent-scatter-plots/m-p/472519#M16327</link>
      <description>&lt;P&gt;The image you show is from SGSCATTER online documentation example 2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you want to create a separate graph based on the value of a different variable than is involved in the actual plot then SGPANEL with a custom format for your MONTH variable to get groups probably a good solution. Something like:&lt;/P&gt;
&lt;PRE&gt;proc format library=work;
value season
12,1,2 = 'Winter'
3,4,5 = 'Spring'
6,7,8 = 'Summer'
9,10,11 = 'Fall';
run;
proc sgpanel data=dataname ;
   panelby month /layout=panel rows=2 columns=2 onepanel ;
   format month season.;
   scatter x=Temperature y=Load;
   colaxis label="Temperature (degrees F)";
   rowaxis label="Load (MW)";
   title 'Load vs Temperature';
run;&lt;/PRE&gt;
&lt;P&gt;may get you started.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 15:27:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Multiple-independent-scatter-plots/m-p/472519#M16327</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-06-22T15:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple independent scatter plots</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Multiple-independent-scatter-plots/m-p/472527#M16328</link>
      <description>&lt;P&gt;that is amazing, thank you&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 15:49:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Multiple-independent-scatter-plots/m-p/472527#M16328</guid>
      <dc:creator>matt23</dc:creator>
      <dc:date>2018-06-22T15:49:18Z</dc:date>
    </item>
  </channel>
</rss>

