BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
rwat1
Fluorite | Level 6

I was able to successfully reproduce the documentation which creates an inset table inside a survival plot.

 

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_kaplan_sect030.htm

 

However, I spent over 1.5 hours trying to figure out how to enlarge the font size. I need it to be in a poster atleast 25 pots.

I tried adding valueattrs, labelattrs, textattrs ,titleattrs, but none of it works.... please help.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
rwat1
Fluorite | Level 6

Actually, I figured it out. 

 

Here is the modified version of the documentation code:

%macro StmtsBottom;
   dynamic %do i = 1 %to 3; StrVal&i NObs&i NEvent&i %end;;
   layout gridded /  columns=3 border=TRUE autoalign=(TopRight);
      entry ""; entry "Event" / textattrs=GraphData&i(size=12pt weight=bold family="Times New Roman"); entry "Total" / textattrs=GraphData&i(size=12pt weight=bold family="Times New Roman");
      %do i = 1 %to 3;
         %let t = / textattrs=GraphData&i(size=12pt family="Times New Roman");
         entry halign=right Strval&i &t; entry NEvent&i &t; entry NObs&i &t;
      %end;
   endlayout;
%mend;

How do I mark as solved?

View solution in original post

1 REPLY 1
rwat1
Fluorite | Level 6

Actually, I figured it out. 

 

Here is the modified version of the documentation code:

%macro StmtsBottom;
   dynamic %do i = 1 %to 3; StrVal&i NObs&i NEvent&i %end;;
   layout gridded /  columns=3 border=TRUE autoalign=(TopRight);
      entry ""; entry "Event" / textattrs=GraphData&i(size=12pt weight=bold family="Times New Roman"); entry "Total" / textattrs=GraphData&i(size=12pt weight=bold family="Times New Roman");
      %do i = 1 %to 3;
         %let t = / textattrs=GraphData&i(size=12pt family="Times New Roman");
         entry halign=right Strval&i &t; entry NEvent&i &t; entry NObs&i &t;
      %end;
   endlayout;
%mend;

How do I mark as solved?

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 875 views
  • 0 likes
  • 1 in conversation