And if you don't have a lot of variable names then you can of course pass in the names also directly as a blank list in a single or multiple calls to the macro.
proc template;
define statgraph myren_density;
begingraph;
entrytitle textattrs=(size=12 family="Times New Roman" weight=bold)
"Table 1: Distributions of metals log-transformed concentraions";
entryfootnote halign=left textattrs=(size=9 family="Times New Roman"
weight=normal color=CX8470FF) "Note: made by Myren";
layout lattice / columns=1;
%cells(hg cd cr as)
%cells(pb)
sidebar / align=bottom;
entry "Log-transformed Concentration(µg/g)" / textattrs=(family="Times New Roman"
size=12 weight=normal) pad=(left=30);
endsidebar;
endlayout;
endgraph;
end;
run;
... View more