Skip to Main Content
SAS 9.4 ODS Graphics, 3rd Edition
book

SAS 9.4 ODS Graphics, 3rd Edition

by Matt Neuburg
August 2014
Intermediate to advanced content levelIntermediate to advanced
1284 pages
50h 37m
English
SAS Institute
Content preview from SAS 9.4 ODS Graphics, 3rd Edition
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 that shows horizontal axis tables, see “Example: XAXISTABLE
Statements” on page 870.
Examples: SGPLOT Procedure
Example 1: Grouping a Scatter Plot
Features: SCATTER statement
Sample ...
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, 2nd Edition

SAS 9.4 ODS Graphics, 2nd Edition

SAS Documentation

Publisher Resources

ISBN: 9781629593159