In the following sgplot, can I just italicize Yahoo Finance in footnote so that it can be Source: Yahoo Finance for example?
Here is the working snippet.
filename SNP500 url 'https://query1.finance.yahoo.com/v7/finance/download/%5EGSPC?period1=-1388534400&period2=1767225599'; proc import file=SNP500 dbms=csv replace out=SNP500; run; ods results=off; ods listing gpath='!USERPROFILE\Desktop\'; ods graphics/reset imagename='SNP500'; title 'S&P 500 Index'; footnote 'Source: Yahoo Finance'; proc sgplot; series x=date y=close; yaxis type=log; run;
Thanks for your help!
title 'S&P 500 Index';
footnote"Source: " font="Albany AMT/italic" " Yahoo Finance";
proc sgplot data=sashelp.class;
scatter x=weight y=height;
run;
Or try "ITALIC" option in TITLE.
footnote"Source: " ITALIC " Yahoo Finance";
Besides of what @Ksharp already shared you might also consider to also use ODS for the title.
Here the docu link as your starting point. https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsproc/n0b6rprbxhai4dn0z9gqwr5jfzhl.htm
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 save with the early bird rate—just $795!
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.