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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1779 views
  • 3 likes
  • 4 in conversation