Graphics Programming

Data visualization using SAS programming, including ODS Graphics and SAS/GRAPH. Charts, plots, maps, and more!
BookmarkSubscribeRSS Feed
devarayalu
Fluorite | Level 6

Good Day!!

 

1) I have given y axis tick values as below in prco lifetest.

 

tickvaluelist=(0.5 0.6 0.7 0.8 0.9 1.0). So I am getting ticks at defined 0.5, 0.6 etc. However the I want the ticks in between defined intervals, like grid format.

 

2) How to get survival probabiliy in percents on KM plot. I am getting 0 to 1 survival probability on Y axis. However I need 0 to 100 percent on Y axis.

3) I am  using below options. However my plot is coming as very small in rtf ouput. I need to increase the size of output.

 

options orientation=landscape papersize=LETTER nodate nonumber

leftmargin=1.0in rightmargin=1.0in topmargin=1.0in bottommargin=1.0in

 

4) How to get rid of legend of symbol in the plot. Any options please.

 

Thank you, support is much appreciated.

;

 

1 REPLY 1
WarrenKuhfeld
Ammonite | Level 13

There is an entire sas/stat chapter on modifying the km plot.  https://support.sas.com/documentation/onlinedoc/stat/142/kaplan.pdf . If I had access to my office computer, I could better help you.

You can use GTL expressions to transform proportions to percentages.  Changing the format to a percent format is an option too.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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
  • 1 reply
  • 1105 views
  • 0 likes
  • 2 in conversation