
Here are the noteworthy features:
• The first axis table statement displays the age (in red) of each student. The
LOCATION=INSIDE option locates the axis table within the plot axes.
• The second axis table statement specifies two variables, height and weight, and is
located to the right of the Y axis.
Here is the SAS code for this example.
ods graphics / reset=all;
ods graphics / width=4.5in;
proc sgplot data=sashelp.class (where=(age > 13));
scatter y=name x=height;
yaxistable age / location=inside position=right
valueattrs=(color=red)
labelattrs=(color=red);
yaxistable weight height / valueattrs=(color=blue)
labelattrs=(color=blue);
run;
For an example ...