BookmarkSubscribeRSS Feed
Nussy
Calcite | Level 5

Hi. My company is Using Enterprise Guide version 7.13. I do not appear to have ODS Graphics Designer installed on the network.

 

I am trying to alter a Kaplan-Meier graph produced by Proc Lifetest (putting a horizontal line in for the median and adding a summary table). I've seen lots of sites that tell you how to alter the template to do those things if you are using SAS 9.3, but I cannot figure out how to call up the default template to alter it in Enterprise Guide. I cannot find anything on this on-line, though SAS touts the ability to alter graphs in Enterprise Guide. Do I need to have ODS Graphics Designer installed to do this or is there another way? SAS is on a secured server that doesn't allow internet access or any Microsoft Office products to be installed, so trying to copy it over and uploading it is not a great option.

 

Thank you.

6 REPLIES 6
WarrenKuhfeld
Ammonite | Level 13

There is an entire documentation chapter on modifying the KM template.  https://support.sas.com/documentation/onlinedoc/stat/131/kaplan.pdf  While I have no experience in EG, this simply involves running SAS, and should be no different in EG, or DM, ....

WarrenKuhfeld
Ammonite | Level 13

Or change the release number to get a differnt version.  Here is 14.1 (141) https://support.sas.com/documentation/onlinedoc/stat/141/kaplan.pdf

Reeza
Super User

@WarrenKuhfeld is correct, there are many chapters and papers dedicated to this topic. You can search lexjansen.com for papers on the topic or even on here. 

 

There are two consistent approaches: 1) Modify the template, 2) Extract the data and use SGPLOT to create your own graph.

 

If you can be more specific about your example you can probably get more help here. 

Ideally you can provide data, but if you need fake data you can work with the SASHELP.HEART dataset.

 

 

 

 

WarrenKuhfeld
Ammonite | Level 13

Thank you for the kind words, but I must disagree. The KM documentation chapter is primarily not about ordinary template modification. That is the only plot where we provide macros and a long series of examples that show how to make changes.  The papers that you will find elsewhere (at least any that I wrote) are obsolete compared to the SAS/STAT documentation.  If anyone finds that the instructions in the KM template modification chapter are inadequate, I would really like to hear the specifics.  It should never be necessary to use SGPLOT or resort to the customary forms of template modification to modify that graph.  We have gone to great lengths to make that true.

Reeza
Super User

@WarrenKuhfeld We'll probably have to agree to disagree. I agree that modifying the templates is well documented, but it's different. More users are familiar with SGPLOT than GTL and PROC TEMPLATE so there will still be some for who it's easier and faster to switch to SGPLOT than to try and figure out PROC TEMPLATE. 

 

 

WarrenKuhfeld
Ammonite | Level 13

Please look at the chapter. I don't think you are getting what I am saying.  

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
  • 6 replies
  • 1328 views
  • 1 like
  • 3 in conversation