<?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 y-axis start on zero in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest-y-axis-start-on-zero/m-p/650113#M194955</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/72105"&gt;@lillymaginta&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume you mean the "gap" due to the patients-at-risk table inside the plot. You can use the OUTSIDE suboption to display that table outside the plot, which should resolve the issue with the y-axis except for a small offset (see &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_lifetest_syntax01.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en#statug.lifetest.lftodsplots" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; and for an example&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_kaplan_sect008.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank" rel="noopener"&gt;Displaying the Patients-at-Risk Table outside the Plot&lt;/A&gt;)&lt;FONT face="helvetica"&gt;:&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT size="4"&gt;plots=(S(test nocensor atrisk&lt;FONT color="#00CCFF"&gt;&lt;STRONG&gt;(outside(0.15))&lt;/STRONG&gt;&lt;/FONT&gt;=0 to 3000 by 500))&lt;/FONT&gt; &lt;/PRE&gt;
&lt;P&gt;You may need to adjust the percentage (0.15=15% of the vertical space) to your requirements or try the default, i.e., omit the "&lt;FONT face="courier new,courier"&gt;(0.15)&lt;/FONT&gt;".&lt;/P&gt;</description>
    <pubDate>Sat, 23 May 2020 20:07:44 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2020-05-23T20:07:44Z</dc:date>
    <item>
      <title>proc lifetest y-axis start on zero</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest-y-axis-start-on-zero/m-p/650100#M194950</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on;
proc lifetest data=matched3 method=km atrisk
plots=(S(test nocensor atrisk=0 to 3000 by 500)) 
method=km MAXTIME= 3000 intervals=(1 to 3000 by 500);
time period2*outcome2(0);
strata drug/ adjust=sidak test=logrank;run;
ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Would it be possible to adjust the y-axis to start at zero as the above code create a graph with a gap before zero.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 16:55:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-lifetest-y-axis-start-on-zero/m-p/650100#M194950</guid>
      <dc:creator>lillymaginta</dc:creator>
      <dc:date>2020-05-23T16:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: proc lifetest y-axis start on zero</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-lifetest-y-axis-start-on-zero/m-p/650113#M194955</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/72105"&gt;@lillymaginta&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume you mean the "gap" due to the patients-at-risk table inside the plot. You can use the OUTSIDE suboption to display that table outside the plot, which should resolve the issue with the y-axis except for a small offset (see &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_lifetest_syntax01.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en#statug.lifetest.lftodsplots" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; and for an example&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_kaplan_sect008.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank" rel="noopener"&gt;Displaying the Patients-at-Risk Table outside the Plot&lt;/A&gt;)&lt;FONT face="helvetica"&gt;:&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT size="4"&gt;plots=(S(test nocensor atrisk&lt;FONT color="#00CCFF"&gt;&lt;STRONG&gt;(outside(0.15))&lt;/STRONG&gt;&lt;/FONT&gt;=0 to 3000 by 500))&lt;/FONT&gt; &lt;/PRE&gt;
&lt;P&gt;You may need to adjust the percentage (0.15=15% of the vertical space) to your requirements or try the default, i.e., omit the "&lt;FONT face="courier new,courier"&gt;(0.15)&lt;/FONT&gt;".&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 20:07:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-lifetest-y-axis-start-on-zero/m-p/650113#M194955</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2020-05-23T20:07:44Z</dc:date>
    </item>
  </channel>
</rss>

