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