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?

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 419 views
  • 0 likes
  • 1 in conversation