Skip to Main Content
SAS 9.4 ODS Graphics, 2nd Edition
book

SAS 9.4 ODS Graphics, 2nd Edition

by SAS Documentation
December 2013
Beginner to intermediate content levelBeginner to intermediate
1172 pages
45h 47m
English
SAS Institute
Content preview from SAS 9.4 ODS Graphics, 2nd Edition
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SAS 9.4 ODS Graphics, 3rd Edition

SAS 9.4 ODS Graphics, 3rd Edition

Matt Neuburg

Publisher Resources

ISBN: 9781612909998