<?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 Failure plot - changing y axis in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Failure-plot-changing-y-axis/m-p/592788#M170003</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to change my y axis to have a .1 max value. When I change it to viewmax =0.1 below, I think the y axis does have a max value of 0.1 but it loses the 0.1 label on the y axis (see attached). How do I bring back the 0.1 label?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code here -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods trace on;&lt;BR /&gt;proc lifetest data=data3 plots=survival(failure);&lt;BR /&gt;time survtimeMo * code(0);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;source Stat.Lifetest.Graphics.ProductLimitFailure / file='/folders/myfolders/CPE/AMMI2019 reanalysis/tpl';&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;data _null_; /* Standard boilerplate */&lt;BR /&gt;infile '/folders/myfolders/CPE/AMMI2019 reanalysis/tpl' end=eof; /* Standard boilerplate */&lt;BR /&gt;input; /* Standard boilerplate */&lt;BR /&gt;if _n_ eq 1 then call execute('proc template;'); /* Standard boilerplate */&lt;BR /&gt;_infile_ = tranwrd(_infile_, 'viewmax=1', /* Customization: var = */&lt;BR /&gt;'viewmax=0.1'); /* tranwrd(var, from, to);*/&lt;BR /&gt;call execute(_infile_); /* Standard boilerplate */&lt;BR /&gt;if eof then call execute('quit;'); /* Standard boilerplate */&lt;BR /&gt;run; /* Standard boilerplate */&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;source Stat.Lifetest.Graphics.ProductLimitFailure / store=sasuser.templat;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;source Stat.Lifetest.Graphics.ProductLimitFailure /&lt;BR /&gt;store=sasuser.templat file='/folders/myfolders/CPE/AMMI2019 reanalysis/tpl mod';&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;proc lifetest data=data3 plots=survival(failure);&lt;BR /&gt;time survtimeMo * code(0);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2019 18:44:54 GMT</pubDate>
    <dc:creator>KPCklebspn</dc:creator>
    <dc:date>2019-09-30T18:44:54Z</dc:date>
    <item>
      <title>Failure plot - changing y axis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Failure-plot-changing-y-axis/m-p/592788#M170003</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to change my y axis to have a .1 max value. When I change it to viewmax =0.1 below, I think the y axis does have a max value of 0.1 but it loses the 0.1 label on the y axis (see attached). How do I bring back the 0.1 label?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code here -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods trace on;&lt;BR /&gt;proc lifetest data=data3 plots=survival(failure);&lt;BR /&gt;time survtimeMo * code(0);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;source Stat.Lifetest.Graphics.ProductLimitFailure / file='/folders/myfolders/CPE/AMMI2019 reanalysis/tpl';&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;data _null_; /* Standard boilerplate */&lt;BR /&gt;infile '/folders/myfolders/CPE/AMMI2019 reanalysis/tpl' end=eof; /* Standard boilerplate */&lt;BR /&gt;input; /* Standard boilerplate */&lt;BR /&gt;if _n_ eq 1 then call execute('proc template;'); /* Standard boilerplate */&lt;BR /&gt;_infile_ = tranwrd(_infile_, 'viewmax=1', /* Customization: var = */&lt;BR /&gt;'viewmax=0.1'); /* tranwrd(var, from, to);*/&lt;BR /&gt;call execute(_infile_); /* Standard boilerplate */&lt;BR /&gt;if eof then call execute('quit;'); /* Standard boilerplate */&lt;BR /&gt;run; /* Standard boilerplate */&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;source Stat.Lifetest.Graphics.ProductLimitFailure / store=sasuser.templat;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;proc template;&lt;BR /&gt;source Stat.Lifetest.Graphics.ProductLimitFailure /&lt;BR /&gt;store=sasuser.templat file='/folders/myfolders/CPE/AMMI2019 reanalysis/tpl mod';&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;proc lifetest data=data3 plots=survival(failure);&lt;BR /&gt;time survtimeMo * code(0);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 18:44:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Failure-plot-changing-y-axis/m-p/592788#M170003</guid>
      <dc:creator>KPCklebspn</dc:creator>
      <dc:date>2019-09-30T18:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Failure plot - changing y axis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Failure-plot-changing-y-axis/m-p/592799#M170006</link>
      <description>Is there a reason you're not using the standard SAS macros to make these modifications? I believe specifying maxtime in PROC LIFETEST can also do this without getting into templates. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_lifetest_sect004.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_lifetest_sect004.htm&lt;/A&gt;</description>
      <pubDate>Mon, 30 Sep 2019 19:23:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Failure-plot-changing-y-axis/m-p/592799#M170006</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-30T19:23:37Z</dc:date>
    </item>
  </channel>
</rss>

