<?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: Gplot with two different data sets: How to put into one chart in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-with-two-different-data-sets-How-to-put-into-one-chart/m-p/73916#M2703</link>
    <description>There may be a couple of options:&lt;BR /&gt;
&lt;BR /&gt;
1. Turn the second dataset (with the simple line) into an annotation dataset and pass it into the first GPLOT.&lt;BR /&gt;
2. Assuming the variable names are unique between the two datasets, you can directly merge the two datasets and use the OVERLAY option in GPLOT.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps!&lt;BR /&gt;
&lt;BR /&gt;
-- Dan</description>
    <pubDate>Fri, 02 Oct 2009 01:59:28 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2009-10-02T01:59:28Z</dc:date>
    <item>
      <title>Gplot with two different data sets: How to put into one chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-with-two-different-data-sets-How-to-put-into-one-chart/m-p/73915#M2702</link>
      <description>/** first one has a few hundreds of obs. and a trend chart **/&lt;BR /&gt;
goptions reset=global &lt;BR /&gt;
gsfmode=replace &lt;BR /&gt;
gunit=pct border cback=white  ftext=swissb htitle=6 htext=3&lt;BR /&gt;
colors=(blue green red);&lt;BR /&gt;
symbol2 value=star color=green;&lt;BR /&gt;
symbol1 color=red;&lt;BR /&gt;
proc format;&lt;BR /&gt;
value test 1 ='Meet'&lt;BR /&gt;
 0 ='Does not Meet';&lt;BR /&gt;
run; &lt;BR /&gt;
proc gplot data=safe;&lt;BR /&gt;
plot J*K=z /hm=5;&lt;BR /&gt;
format z test.;&lt;BR /&gt;
&lt;BR /&gt;
/*** the second one is just a line cross the chart with only a few obs */&lt;BR /&gt;
&lt;BR /&gt;
proc gplot data=safe_second;&lt;BR /&gt;
plot t10*i /hm=5;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
My question:&lt;BR /&gt;
&lt;BR /&gt;
How can I plot two into one chart?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Wed, 30 Sep 2009 23:55:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-with-two-different-data-sets-How-to-put-into-one-chart/m-p/73915#M2702</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-09-30T23:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Gplot with two different data sets: How to put into one chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-with-two-different-data-sets-How-to-put-into-one-chart/m-p/73916#M2703</link>
      <description>There may be a couple of options:&lt;BR /&gt;
&lt;BR /&gt;
1. Turn the second dataset (with the simple line) into an annotation dataset and pass it into the first GPLOT.&lt;BR /&gt;
2. Assuming the variable names are unique between the two datasets, you can directly merge the two datasets and use the OVERLAY option in GPLOT.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps!&lt;BR /&gt;
&lt;BR /&gt;
-- Dan</description>
      <pubDate>Fri, 02 Oct 2009 01:59:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-with-two-different-data-sets-How-to-put-into-one-chart/m-p/73916#M2703</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2009-10-02T01:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Gplot with two different data sets: How to put into one chart</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-with-two-different-data-sets-How-to-put-into-one-chart/m-p/73917#M2704</link>
      <description>Thanks, Dan.&lt;BR /&gt;
&lt;BR /&gt;
I will follow your directions to try out. Will let you know the result.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Cliff</description>
      <pubDate>Fri, 02 Oct 2009 23:32:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-with-two-different-data-sets-How-to-put-into-one-chart/m-p/73917#M2704</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-10-02T23:32:37Z</dc:date>
    </item>
  </channel>
</rss>

