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?
According to the SAS/STAT User's Guide, [see page 709 of https://support.sas.com/documentation/onlinedoc/stat/151/odsgraph.pdf]
The fonts
GraphTitle1FontandGraphLabel2Fontare not used by ODS Graphics.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.