BookmarkSubscribeRSS Feed
PaigeMiller
Diamond | Level 26

I am using code from @DanH_sas to globally change the fonts before I run a many different PROC SGPLOTs, so I don't have to change the font in each PROC SGPLOT individually. The code is here:

https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-and-graph-fonts/td-p/81529

 

This works fine, but what is this line doing? What is the difference between GraphTitle1Font and GraphTItleFont?

 

'GraphTitle1Font' = ("Garamond, <MTsans-serif>",14pt,bold)  

 Also, suppose I have some code with both TITLE and TITLE2 statements. Can I modify PROC TEMPLATE to globally change the TITLE2 font and font size independently of global changes to the TITLE statement? If so, how?

--
Paige Miller
1 REPLY 1
SuzanneDorinski
Lapis Lazuli | Level 10

According to the SAS/STAT User's Guide, [see page 709 of https://support.sas.com/documentation/onlinedoc/stat/151/odsgraph.pdf]

 

The fonts GraphTitle1Font and GraphLabel2Font are not used by ODS Graphics. 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1627 views
  • 3 likes
  • 2 in conversation