BookmarkSubscribeRSS Feed
RAVI2000
Lapis Lazuli | Level 10

I have used proc lifetest and output the survival plot for atrisk and tatrisk to plot the km plot. My survival output dataset has tatrisk values as 0, 2, 4, 6. But when I output it using proc template and sgrender only 0, 2, 6 values are being displayed.

 

4 REPLIES 4
tarheel13
Rhodochrosite | Level 12

I feel like you should move this to the Graphics Programming forum. 

Reeza
Super User
I've moved your post to the graphics forum. It would help if you included sample data so we could run the code you've posted or if you cannot use your data use a known data set such as sashelp.heart.
djrisks
Barite | Level 11

Hello, have you used the TICKVALUELIST option to specify the x-axis values? Do you see 4 on the x-axis?

RAVI2000
Lapis Lazuli | Level 10
Yes, I do have 4 value on x-axis

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1307 views
  • 3 likes
  • 4 in conversation