<?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: Proc Lifetest- plotting multiple lines on one graph in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Lifetest-plotting-multiple-lines-on-one-graph/m-p/58813#M1986</link>
    <description>YAY!  Thank you so much. I ended up having to use the syntax with 'overlay' specified.</description>
    <pubDate>Thu, 05 May 2011 23:35:41 GMT</pubDate>
    <dc:creator>mdmorris</dc:creator>
    <dc:date>2011-05-05T23:35:41Z</dc:date>
    <item>
      <title>Proc Lifetest- plotting multiple lines on one graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Lifetest-plotting-multiple-lines-on-one-graph/m-p/58811#M1984</link>
      <description>Hello--&lt;BR /&gt;
&lt;BR /&gt;
I have three k-m curves that I'd like to plot on the same graph (thus showing three lines).  Can someone help me with the syntax to achieve this?  The time units are the same for the three models which will allow for them to be displayed on the same figure.  &lt;BR /&gt;
&lt;BR /&gt;
I greatly appreciate any suggestions anyone has!  Been stumped for quite some time about this.&lt;BR /&gt;
MDM</description>
      <pubDate>Thu, 28 Apr 2011 01:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Lifetest-plotting-multiple-lines-on-one-graph/m-p/58811#M1984</guid>
      <dc:creator>mdmorris</dc:creator>
      <dc:date>2011-04-28T01:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest- plotting multiple lines on one graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Lifetest-plotting-multiple-lines-on-one-graph/m-p/58812#M1985</link>
      <description>Here are a couple of approaches. The SGPLOT approach works only for SAS 9.2 or greater:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc sgplot data=survdata;&lt;BR /&gt;
step x=time y=surv1;&lt;BR /&gt;
step x=time y=surv2;&lt;BR /&gt;
step x=time y=surv3;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
symbol1 i=stepj;&lt;BR /&gt;
proc gplot data=survdata;&lt;BR /&gt;
plot (surv1 surv2 surv3)*time / overlay;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps,&lt;BR /&gt;
Dan</description>
      <pubDate>Thu, 28 Apr 2011 03:10:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Lifetest-plotting-multiple-lines-on-one-graph/m-p/58812#M1985</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2011-04-28T03:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Lifetest- plotting multiple lines on one graph</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Lifetest-plotting-multiple-lines-on-one-graph/m-p/58813#M1986</link>
      <description>YAY!  Thank you so much. I ended up having to use the syntax with 'overlay' specified.</description>
      <pubDate>Thu, 05 May 2011 23:35:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Lifetest-plotting-multiple-lines-on-one-graph/m-p/58813#M1986</guid>
      <dc:creator>mdmorris</dc:creator>
      <dc:date>2011-05-05T23:35:41Z</dc:date>
    </item>
  </channel>
</rss>

