<?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: How to create multipule plots on one graph? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-create-multipule-plots-on-one-graph/m-p/69648#M20018</link>
    <description>Hi:&lt;BR /&gt;
  You might look at the GPLOT examples of plotting multiple overlays in one PLOT output. For example, one way to plot multiple lines is to have:&lt;BR /&gt;
[pre]&lt;BR /&gt;
  plot yvar*xvar=catvar;&lt;BR /&gt;
...which for your example would seem to be...&lt;BR /&gt;
  plot freq*rd=gp;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Sun, 06 Sep 2009 06:40:19 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2009-09-06T06:40:19Z</dc:date>
    <item>
      <title>How to create multipule plots on one graph?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-create-multipule-plots-on-one-graph/m-p/69647#M20017</link>
      <description>Hi, need help,&lt;BR /&gt;
&lt;BR /&gt;
I want to use PROC GPLOT to create (three plots, one page):&lt;BR /&gt;
&lt;BR /&gt;
{ plot  Freq*rd (when gp=1)  }  overlay  &lt;BR /&gt;
{ plot  Freq*rd (when gp=2)  }  overlay&lt;BR /&gt;
{ plot  Freq*rd (when gp=3)  } &lt;BR /&gt;
&lt;BR /&gt;
I try the BY statement, but it gives me separated plots. How can I do that? &lt;BR /&gt;
please see the dataset below&lt;BR /&gt;
------------------------------------------&lt;BR /&gt;
   rd  gp        Freq&lt;BR /&gt;
&lt;BR /&gt;
 0.8   1        0.000      &lt;BR /&gt;
 1.9   1        0.000      &lt;BR /&gt;
 0.6   2        0.448    &lt;BR /&gt;
 0.8   2        0.448   &lt;BR /&gt;
 1.9   2        0.448    &lt;BR /&gt;
 0.6   3        0.000    &lt;BR /&gt;
 0.8   3        0.000    &lt;BR /&gt;
 1.9   3        0.000   &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank you so much!!

Message was edited by: Ken_oy</description>
      <pubDate>Sun, 06 Sep 2009 02:47:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-create-multipule-plots-on-one-graph/m-p/69647#M20017</guid>
      <dc:creator>Ken_oy</dc:creator>
      <dc:date>2009-09-06T02:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multipule plots on one graph?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-create-multipule-plots-on-one-graph/m-p/69648#M20018</link>
      <description>Hi:&lt;BR /&gt;
  You might look at the GPLOT examples of plotting multiple overlays in one PLOT output. For example, one way to plot multiple lines is to have:&lt;BR /&gt;
[pre]&lt;BR /&gt;
  plot yvar*xvar=catvar;&lt;BR /&gt;
...which for your example would seem to be...&lt;BR /&gt;
  plot freq*rd=gp;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Sun, 06 Sep 2009 06:40:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-create-multipule-plots-on-one-graph/m-p/69648#M20018</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-09-06T06:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create multipule plots on one graph?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-create-multipule-plots-on-one-graph/m-p/69649#M20019</link>
      <description>Thanks!! It works!</description>
      <pubDate>Tue, 08 Sep 2009 02:01:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-create-multipule-plots-on-one-graph/m-p/69649#M20019</guid>
      <dc:creator>Ken_oy</dc:creator>
      <dc:date>2009-09-08T02:01:32Z</dc:date>
    </item>
  </channel>
</rss>

