PROC LIFETEST, like other statistical procedures, provides a PLOTS= option and other options for modifying its graphical output without requiring template changes. Those options are sufficient for most purposes, and the following subsections of the section Controlling the Survival Plot by Specifying Procedure Options in Chapter 23: Customizing the Kaplan-Meier Survival Plot provide examples:
When those options are not sufficient, you can use a set of macros and macro variables to modify the graph templates. Using these macros and macro variables is easier than directly modifying the graph templates. The following subsections of the section Controlling the Survival Plot by Modifying Graph Templates in Chapter 23: Customizing the Kaplan-Meier Survival Plot provide examples: