I found this code from a different post to add a footnote within a plot while simultaneously having a footnote outside the plot.
data boxplot;
retain function "text" drawspace "graphpercent" width 100 x1 50;
length anchor $ 6 textstyleelement $ 17 label $ 18;
input y1 anchor $ textstyleelement $ label $ 29-100;
cards;
1 bottom GraphFootnoteText Note: Concentrations were adjusted for dose received at time of sample taken
;
run;
Is there a way to edit the aesthetic? Specifically I would like to make the text a tad smaller left aligned (so it doesn't get confused with the x-axis label).
See this paper for the elements you are missing.
https://www.lexjansen.com/phuse-us/2018/ct/CT07.pdf
anchor controls the position. For example anchor="BOTTOMLEFT".
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.