<?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 SAS Proc Gplot for Lifetest procedure in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Proc-Gplot-for-Lifetest-procedure/m-p/285290#M10098</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I am trying to plot SAS graph for survibval analysis using Proc Lifetest and Proc Gplot. However, I do not know how to change the titles of the horizontal or vertical axes! I am trying to see if the time-to-event differs by sex; my time variable=Time_Months, and censoring variable=Cat(0). The analysis is stratified by sex (Sex).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am stuck trying to plot the title for the horizontal axis. Thanks for any help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the code i am using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS OUTPUT homtests=homT;&lt;BR /&gt;PROC LIFETEST DATA=sur PLOTS=S(NOCENSOR TEST) OUTSURV=LTEstimates;&lt;BR /&gt; TIME Time_Months*Cat(0);&lt;BR /&gt; STRATA Sex;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;title 'my data';&lt;BR /&gt;axis1 label='my data';&lt;/P&gt;
&lt;P&gt;symbol1 line=1 color=blue i=stepj;&lt;BR /&gt;symbol2 line=2 color=red i=stepj;&lt;BR /&gt;proc gplot data= LTEstimates;&lt;BR /&gt;plot survival * Time_Months = Sex/haxis=axis1;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2016 16:50:22 GMT</pubDate>
    <dc:creator>sas_user4</dc:creator>
    <dc:date>2016-07-18T16:50:22Z</dc:date>
    <item>
      <title>SAS Proc Gplot for Lifetest procedure</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Proc-Gplot-for-Lifetest-procedure/m-p/285290#M10098</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I am trying to plot SAS graph for survibval analysis using Proc Lifetest and Proc Gplot. However, I do not know how to change the titles of the horizontal or vertical axes! I am trying to see if the time-to-event differs by sex; my time variable=Time_Months, and censoring variable=Cat(0). The analysis is stratified by sex (Sex).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am stuck trying to plot the title for the horizontal axis. Thanks for any help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the code i am using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS OUTPUT homtests=homT;&lt;BR /&gt;PROC LIFETEST DATA=sur PLOTS=S(NOCENSOR TEST) OUTSURV=LTEstimates;&lt;BR /&gt; TIME Time_Months*Cat(0);&lt;BR /&gt; STRATA Sex;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;title 'my data';&lt;BR /&gt;axis1 label='my data';&lt;/P&gt;
&lt;P&gt;symbol1 line=1 color=blue i=stepj;&lt;BR /&gt;symbol2 line=2 color=red i=stepj;&lt;BR /&gt;proc gplot data= LTEstimates;&lt;BR /&gt;plot survival * Time_Months = Sex/haxis=axis1;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 16:50:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Proc-Gplot-for-Lifetest-procedure/m-p/285290#M10098</guid>
      <dc:creator>sas_user4</dc:creator>
      <dc:date>2016-07-18T16:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Proc Gplot for Lifetest procedure</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Proc-Gplot-for-Lifetest-procedure/m-p/285317#M10100</link>
      <description>&lt;P&gt;Are you not getting "my data" for the label of the horizontal axis? The axis1 statement coupled with haxis=axis1 should show that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or do you mean the text of the tickmarks? "Title" is generally associated with a whole graph to describe the overall purpose, Axis Lables discribe what the individual axis measures or shows.&lt;/P&gt;
&lt;P&gt;Tickmark values would want a FORMAT associated with the variable(s) to control text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to provide a bit more concrete example of what you want and it might help to show the current result you are getting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll also get suggestions to move to SGPLOT where a&amp;nbsp;STEP plot&amp;nbsp;with x=time_months y=survival / group=sex.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 18:07:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Proc-Gplot-for-Lifetest-procedure/m-p/285317#M10100</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-07-18T18:07:55Z</dc:date>
    </item>
  </channel>
</rss>

